aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2015-09-02 02:41:55 +0200
committerraysan5 <raysan5@gmail.com>2015-09-02 02:41:55 +0200
commit50c5df0838b8738225f4c257a3081438fb204e86 (patch)
tree286c509843a2dfec95dd0125b3d7615d8dabf3cd
parenta7a81ca7492772637c43cb48a92405784872f857 (diff)
downloadraylib-50c5df0838b8738225f4c257a3081438fb204e86.tar.gz
raylib-50c5df0838b8738225f4c257a3081438fb204e86.zip
Added some comments
-rw-r--r--src/camera.c2
-rw-r--r--src/raylib.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/camera.c b/src/camera.c
index b637b1e4..f2ac3275 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 bf5fe99f..b14ae082 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)