aboutsummaryrefslogtreecommitdiff
path: root/src/physac.c
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2016-01-20 19:09:48 +0100
committerraysan5 <raysan5@gmail.com>2016-01-20 19:09:48 +0100
commitc5663ca015e550ab8e2a43c10fa72db0aab7cac8 (patch)
tree17b31aadd4694efd35240dc0b7412109c921c38f /src/physac.c
parent51c0b61a432e424c04b32800c98b064c34b01153 (diff)
downloadraylib-c5663ca015e550ab8e2a43c10fa72db0aab7cac8.tar.gz
raylib-c5663ca015e550ab8e2a43c10fa72db0aab7cac8.zip
Some formatting tweaks
Diffstat (limited to 'src/physac.c')
-rw-r--r--src/physac.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/physac.c b/src/physac.c
index 6e3b6e61..6dfdbb49 100644
--- a/src/physac.c
+++ b/src/physac.c
@@ -183,9 +183,9 @@ void ApplyPhysics(int index, Vector2 *position)
{
if (colliders[index].enabled && colliders[j].enabled)
{
- if (colliders[index].type == RectangleCollider)
+ if (colliders[index].type == COLLIDER_RECTANGLE)
{
- if (colliders[j].type == RectangleCollider)
+ if (colliders[j].type == COLLIDER_RECTANGLE)
{
if (CheckCollisionRecs(colliders[index].bounds, colliders[j].bounds))
{
@@ -207,7 +207,7 @@ void ApplyPhysics(int index, Vector2 *position)
}
else
{
- if (colliders[j].type == RectangleCollider)
+ if (colliders[j].type == COLLIDER_RECTANGLE)
{
if (CheckCollisionCircleRec((Vector2){colliders[index].bounds.x, colliders[index].bounds.y}, colliders[index].radius, colliders[j].bounds))
{