Update StarImageProcessing.cpp
This commit is contained in:
parent
10edbdc399
commit
81dfda9ea0
@ -26,7 +26,7 @@ Image scaleNearest(Image const& srcImage, Vec2F const& scale) {
|
||||
}
|
||||
|
||||
#pragma GCC push_options
|
||||
#pragma GCC optimize("-fno-unsafe-math-optimizations")
|
||||
#pragma GCC optimize("-O3")
|
||||
Image scaleBilinear(Image const& srcImage, Vec2F const& scale) {
|
||||
Vec2U srcSize = srcImage.size();
|
||||
Vec2U destSize = Vec2U::round(vmult(Vec2F(srcSize), scale));
|
||||
|
Loading…
x
Reference in New Issue
Block a user