finally fixed bmp bgr/rgb bug.

This commit is contained in:
Yggdrasil75
2026-01-07 13:12:19 -05:00
parent 7c569afd46
commit 65f2464c70
5 changed files with 131 additions and 350 deletions

View File

@@ -247,7 +247,6 @@ public:
return Vec3<bool>(comp(x, other.x), comp(y, other.y), comp(z, other.z));
}
Vec3 abs() const {
return Vec3(std::abs(x), std::abs(y), std::abs(z));
}
@@ -267,6 +266,10 @@ public:
Vec3<float> toFloat() const {
return Vec3<float>(static_cast<float>(x), static_cast<float>(y), static_cast<float>(z));
}
Vec3<double> toDouble() const {
return Vec3<double>(static_cast<double>(x), static_cast<double>(y), static_cast<double>(z));
}
Vec3 ceil() const {
return Vec3(std::ceil(x), std::ceil(y), std::ceil(z));