forked from Dynamitos/Seele
fixing lots of warnings
This commit is contained in:
1 parent
edfe34a394
commit
9cce5977c5
33 files changed
+204
-185
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user