diff options
| author | Ray <[email protected]> | 2021-10-03 12:09:59 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-10-03 12:09:59 +0200 |
| commit | f869229b7ff187a5f18feb0ba82e7e80c9c98a7b (patch) | |
| tree | 595a73831ab0f9aab2dd7ef34fb992d5f5d3a213 /examples/models | |
| parent | 239c37246a533681953554a303e68f25b9ceba17 (diff) | |
| download | raylib-f869229b7ff187a5f18feb0ba82e7e80c9c98a7b.tar.gz raylib-f869229b7ff187a5f18feb0ba82e7e80c9c98a7b.zip | |
Minor format tweaks
Diffstat (limited to 'examples/models')
| -rw-r--r-- | examples/models/models_mesh_picking.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/models/models_mesh_picking.c b/examples/models/models_mesh_picking.c index c25aeeaf..0ac70907 100644 --- a/examples/models/models_mesh_picking.c +++ b/examples/models/models_mesh_picking.c @@ -101,10 +101,10 @@ int main(void) bary = Vector3Barycenter(collision.point, ta, tb, tc); } - + // Check ray collision against test sphere RayCollision sphereHitInfo = GetRayCollisionSphere(ray, sp, sr); - + if ((sphereHitInfo.hit) && (sphereHitInfo.distance < collision.distance)) { collision = sphereHitInfo; @@ -173,7 +173,7 @@ int main(void) } DrawRay(ray, MAROON); - + DrawGrid(10, 10.0f); EndMode3D(); |
