Removed BX_STATIC_ASSERT. Not needed in C++17.

This commit is contained in:
Бранимир Караџић
2024-12-07 22:51:31 -08:00
parent 57a4fb1246
commit 3e9604c743
16 changed files with 48 additions and 51 deletions

View File

@@ -627,7 +627,7 @@ namespace bx
bool intersect(const Ray& _ray, const Capsule& _capsule, Hit* _hit)
{
BX_STATIC_ASSERT(sizeof(Capsule) == sizeof(Cylinder) );
static_assert(sizeof(Capsule) == sizeof(Cylinder) );
return intersect(_ray, *( (const Cylinder*)&_capsule), true, _hit);
}