Fixed compilation win32
This commit is contained in:
@ -19,7 +19,7 @@ bool_t CapsuleCollider::performRaycast(
|
||||
|
||||
return raytestCapsule(
|
||||
ray,
|
||||
(struct PhysicsCapsule){
|
||||
{
|
||||
.height = this->height,
|
||||
.radius = this->radius,
|
||||
.origin = this->transform->getWorldPosition()
|
||||
|
@ -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,
|
||||
|
Reference in New Issue
Block a user