summaryrefslogtreecommitdiffhomepage
path: root/examples/models/models_mesh_picking.c
diff options
context:
space:
mode:
authorRay <[email protected]>2021-05-20 19:24:28 +0200
committerRay <[email protected]>2021-05-20 19:24:28 +0200
commite401d5c48e05efdd8b2cd9857df1f26b03299154 (patch)
tree1cb7dc5b89dc0003ed9137d8f6843125df711060 /examples/models/models_mesh_picking.c
parent9360e4e2c130767f58d787193de0b913bab8cddf (diff)
downloadraylib-e401d5c48e05efdd8b2cd9857df1f26b03299154.tar.gz
raylib-e401d5c48e05efdd8b2cd9857df1f26b03299154.zip
WARNING: RENAMED: MeshBoundingBox() -> GetMeshBoundingBox()
Renamed for consistency with other function in raylib.
Diffstat (limited to 'examples/models/models_mesh_picking.c')
-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 78c7c45c..5dda8df5 100644
--- a/examples/models/models_mesh_picking.c
+++ b/examples/models/models_mesh_picking.c
@@ -40,7 +40,7 @@ int main(void)
tower.materials[0].maps[MATERIAL_MAP_DIFFUSE].texture = texture; // Set model diffuse texture
Vector3 towerPos = { 0.0f, 0.0f, 0.0f }; // Set model position
- BoundingBox towerBBox = MeshBoundingBox(tower.meshes[0]); // Get mesh bounding box
+ BoundingBox towerBBox = GetMeshBoundingBox(tower.meshes[0]); // Get mesh bounding box
bool hitMeshBBox = false;
bool hitTriangle = false;