mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 12:27:43 +00:00
CollisionPrimitive: Make use of constexpr types where applicable
We can now mark some usages of these types as constexpr and also make them fully internal to the translation unit.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
#include "CInternalRayCastStructure.hpp"
|
||||
|
||||
namespace urde {
|
||||
const CCollisionPrimitive::Type CCollidableAABox::sType(CCollidableAABox::SetStaticTableIndex, "CCollidableAABox");
|
||||
constexpr CCollisionPrimitive::Type sType(CCollidableAABox::SetStaticTableIndex, "CCollidableAABox");
|
||||
u32 CCollidableAABox::sTableIndex = -1;
|
||||
|
||||
CCollidableAABox::CCollidableAABox() = default;
|
||||
|
||||
Reference in New Issue
Block a user