From 6b49f382e3a9429e97bc47a9b3c18c3ca8feb65c Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Sat, 28 Dec 2024 13:07:51 +1100 Subject: move image scaling functions to their own unit, as -O2 --- source/core/StarImageScaling.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 source/core/StarImageScaling.hpp (limited to 'source/core/StarImageScaling.hpp') diff --git a/source/core/StarImageScaling.hpp b/source/core/StarImageScaling.hpp new file mode 100644 index 0000000..6a7271b --- /dev/null +++ b/source/core/StarImageScaling.hpp @@ -0,0 +1,8 @@ +namespace Star { + +STAR_CLASS(Image); +Image scaleNearest(Image const& srcImage, Vec2F const& scale); +Image scaleBilinear(Image const& srcImage, Vec2F const& scale); +Image scaleBicubic(Image const& srcImage, Vec2F const& scale); + +} \ No newline at end of file -- cgit v1.2.3