diff options
| author | Ray <[email protected]> | 2021-06-10 17:49:55 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-06-10 17:49:55 +0200 |
| commit | 7bc2e922c9a04e9a1bb54088522e0f318feeb17c (patch) | |
| tree | 4b95c40048cf61c9844f4dacb5430259ccac25a3 /src/models.c | |
| parent | b0dcdf688f587e88ae1426f0987d1b726dde38d2 (diff) | |
| download | raylib-7bc2e922c9a04e9a1bb54088522e0f318feeb17c.tar.gz raylib-7bc2e922c9a04e9a1bb54088522e0f318feeb17c.zip | |
Review some comments
Diffstat (limited to 'src/models.c')
| -rw-r--r-- | src/models.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/models.c b/src/models.c index a93cb750..0db2f789 100644 --- a/src/models.c +++ b/src/models.c @@ -2919,7 +2919,7 @@ void DrawBoundingBox(BoundingBox box, Color color) DrawCubeWires(center, size.x, size.y, size.z, color); } -// Detect collision between two spheres +// Check collision between two spheres bool CheckCollisionSpheres(Vector3 center1, float radius1, Vector3 center2, float radius2) { bool collision = false; @@ -2942,7 +2942,7 @@ bool CheckCollisionSpheres(Vector3 center1, float radius1, Vector3 center2, floa return collision; } -// Detect collision between two boxes +// Check collision between two boxes // NOTE: Boxes are defined by two points minimum and maximum bool CheckCollisionBoxes(BoundingBox box1, BoundingBox box2) { @@ -2958,7 +2958,7 @@ bool CheckCollisionBoxes(BoundingBox box1, BoundingBox box2) return collision; } -// Detect collision between box and sphere +// Check collision between box and sphere bool CheckCollisionBoxSphere(BoundingBox box, Vector3 center, float radius) { bool collision = false; |
