Skip to content

Commit

Permalink
Update CullingData constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Foereaper committed Jul 30, 2024
1 parent ce9699b commit 05ded3e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Source/FileFormat/FileFormat/Novus/Model/ComplexModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -252,10 +252,11 @@ namespace Model

f32 boundingSphereRadius;

CullingData()
: center(hvec3(static_cast<f16>(0.0f))),
extents(hvec3(static_cast<f16>(0.0f))),
boundingSphereRadius(0.0f) {}
CullingData() : boundingSphereRadius(0.0f)
{
center = hvec3(0.0f, 0.0f, 0.0f);
extents = hvec3(0.0f, 0.0f, 0.0f);
}
};

struct Material
Expand Down Expand Up @@ -592,4 +593,4 @@ namespace Model
static i8 GetVertexShaderID(i16 shaderID, u16 textureCount);
static i8 GetPixelShaderID(i16 shaderID, u16 textureCount);
};
}
}

0 comments on commit 05ded3e

Please sign in to comment.