fixing lots of warnings

This commit is contained in:
Dynamitos
2025-03-26 13:38:48 +01:00
parent edfe34a394
commit 9cce5977c5
33 changed files with 204 additions and 185 deletions
+2 -2
View File
@@ -11,9 +11,9 @@ struct BoundingSphere {
};
struct AABB {
Vector min = Vector(std::numeric_limits<float>::max());
float pad0; // So that it can be used directly in shaders
float pad0 = 0; // So that it can be used directly in shaders
Vector max = Vector(std::numeric_limits<float>::lowest()); // cause of reasons
float pad1;
float pad1 = 0;
BoundingSphere toSphere() const {
Vector center = (min + max) / 2.f;
StaticArray<Vector, 8> corners;