aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2018-02-26 12:10:45 +0100
committerRay <raysan5@gmail.com>2018-02-26 12:10:45 +0100
commitfd2adbe62ded6cb91ae7684331381afe0675df69 (patch)
treee4c272e7b9f9489b3026b5b54f9c71f86a32baa7 /examples
parenta7207dc6d4bc4fa7deb21bb090d4d6692e86fdf3 (diff)
downloadraylib-fd2adbe62ded6cb91ae7684331381afe0675df69.tar.gz
raylib-fd2adbe62ded6cb91ae7684331381afe0675df69.zip
Renamed CalculateBoundingBox() to MeshBoundingBox()
Renamed function for consistency with a possible Mesh manipulation functions (maybe added in a future). Naming follows Image*() manipulation functions.
Diffstat (limited to 'examples')
-rw-r--r--examples/models/models_mesh_picking.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/models/models_mesh_picking.c b/examples/models/models_mesh_picking.c
index e150fe92..1cc38b45 100644
--- a/examples/models/models_mesh_picking.c
+++ b/examples/models/models_mesh_picking.c
@@ -38,7 +38,7 @@ int main()
tower.material.maps[MAP_DIFFUSE].texture = texture; // Set model diffuse texture
Vector3 towerPos = { 0.0f, 0.0f, 0.0f }; // Set model position
- BoundingBox towerBBox = CalculateBoundingBox(tower.mesh);
+ BoundingBox towerBBox = MeshBoundingBox(tower.mesh); // Get mesh bounding box
bool hitMeshBBox = false;
bool hitTriangle = false;