diff options
| author | raysan5 <raysan5@gmail.com> | 2015-09-02 02:41:55 +0200 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2015-09-02 02:41:55 +0200 |
| commit | 50c5df0838b8738225f4c257a3081438fb204e86 (patch) | |
| tree | 286c509843a2dfec95dd0125b3d7615d8dabf3cd /src/raylib.h | |
| parent | a7a81ca7492772637c43cb48a92405784872f857 (diff) | |
| download | raylib-50c5df0838b8738225f4c257a3081438fb204e86.tar.gz raylib-50c5df0838b8738225f4c257a3081438fb204e86.zip | |
Added some comments
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 3 |
1 files changed, 2 insertions, 1 deletions
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) |
