diff options
| author | Ray <raysan5@gmail.com> | 2018-02-26 12:10:45 +0100 |
|---|---|---|
| committer | Ray <raysan5@gmail.com> | 2018-02-26 12:10:45 +0100 |
| commit | fd2adbe62ded6cb91ae7684331381afe0675df69 (patch) | |
| tree | e4c272e7b9f9489b3026b5b54f9c71f86a32baa7 /examples | |
| parent | a7207dc6d4bc4fa7deb21bb090d4d6692e86fdf3 (diff) | |
| download | raylib-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.c | 2 |
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; |
