minor refactoring

This commit is contained in:
Garux
2025-01-11 12:53:41 +05:00
parent 4ea3f36f4f
commit bf9feb943a
9 changed files with 91 additions and 111 deletions
+1 -2
View File
@@ -264,8 +264,7 @@ private:
void constructNull(){
AABB aabb( Vector3( 0, 0, 0 ), Vector3( 8, 8, 8 ) );
Vector3 points[8];
aabb_corners( aabb, points );
const std::array<Vector3, 8> points = aabb_corners( aabb );
m_vertices.resize( 24 );