mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-19 21:43:00 +01:00
Removed BX_STATIC_ASSERT. Not needed in C++17.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user