From 50c5df0838b8738225f4c257a3081438fb204e86 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Wed, 2 Sep 2015 02:41:55 +0200 Subject: [PATCH] Added some comments --- src/camera.c | 2 +- src/raylib.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/camera.c b/src/camera.c index b637b1e4d..f2ac32753 100644 --- a/src/camera.c +++ b/src/camera.c @@ -514,4 +514,4 @@ static void ProcessCamera(Camera *camera, Vector3 *playerPosition) } break; default: break; } -} \ No newline at end of file +} diff --git a/src/raylib.h b/src/raylib.h index bf5fe99f9..b14ae082e 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -614,7 +614,8 @@ void DrawBillboardRec(Camera camera, Texture2D texture, Rectangle sourceRec, Vec bool CheckCollisionSpheres(Vector3 centerA, float radiusA, Vector3 centerB, float radiusB); // Detect collision between two spheres bool CheckCollisionBoxes(Vector3 minBBox1, Vector3 maxBBox1, Vector3 minBBox2, Vector3 maxBBox2); // Detect collision between two boxes bool CheckCollisionBoxSphere(Vector3 minBBox, Vector3 maxBBox, Vector3 centerSphere, float radiusSphere); // Detect collision between box and sphere -Vector3 ResolveCollisionCubicmap(Image cubicmap, Vector3 mapPosition, Vector3 *playerPosition, float radius); // Return the normal vector of the impacted surface +Vector3 ResolveCollisionCubicmap(Image cubicmap, Vector3 mapPosition, Vector3 *playerPosition, float radius); // Detect collision of player radius with cubicmap + // NOTE: Return the normal vector of the impacted surface //------------------------------------------------------------------------------------ // Shaders System Functions (Module: rlgl)