Fixed compilation win32

This commit is contained in:
2023-03-22 19:29:20 -07:00
parent 7b9c6576af
commit 97b228e0a7
7 changed files with 23 additions and 12 deletions

View File

@ -19,7 +19,7 @@ bool_t CapsuleCollider::performRaycast(
return raytestCapsule(
ray,
(struct PhysicsCapsule){
{
.height = this->height,
.radius = this->radius,
.origin = this->transform->getWorldPosition()

View File

@ -19,7 +19,7 @@ bool_t CubeCollider::performRaycast(
return Dawn::raytestCube(
ray,
(struct AABB3D){ .min = this->min, .max = this->max },
{ .min = this->min, .max = this->max },
this->transform->getWorldTransform(),
&result->point,
&result->normal,