diff options
| author | lumaio teon <[email protected]> | 2018-04-06 12:04:09 -0400 |
|---|---|---|
| committer | lumaio teon <[email protected]> | 2018-04-06 12:04:09 -0400 |
| commit | d003c23ecf6ec22f4811d07cb30fd2c86cf1d190 (patch) | |
| tree | 37236fec162d95da97baad65d6edb4968a056012 /src/raylib.h | |
| parent | b8bd1d2ea68adbf85b05a273df42eab42352a7c2 (diff) | |
| download | raylib-d003c23ecf6ec22f4811d07cb30fd2c86cf1d190.tar.gz raylib-d003c23ecf6ec22f4811d07cb30fd2c86cf1d190.zip | |
Added GetCollisionRayModel
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h index 3986ebcf..12ec5e24 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1053,6 +1053,7 @@ RLAPI bool CheckCollisionRaySphereEx(Ray ray, Vector3 spherePosition, float sphe Vector3 *collisionPoint); // Detect collision between ray and sphere, returns collision point RLAPI bool CheckCollisionRayBox(Ray ray, BoundingBox box); // Detect collision between ray and box RLAPI RayHitInfo GetCollisionRayMesh(Ray ray, Mesh *mesh); // Get collision info between ray and mesh +RLAPI RayHitInfo GetCollisionRayModel(Ray ray, Model *model); // Get collision info between ray and model RLAPI RayHitInfo GetCollisionRayTriangle(Ray ray, Vector3 p1, Vector3 p2, Vector3 p3); // Get collision info between ray and triangle RLAPI RayHitInfo GetCollisionRayGround(Ray ray, float groundHeight); // Get collision info between ray and ground plane (Y-normal plane) |
