diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/models/models_mesh_picking.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/models/models_mesh_picking.c b/examples/models/models_mesh_picking.c index a790e978..bf1d9339 100644 --- a/examples/models/models_mesh_picking.c +++ b/examples/models/models_mesh_picking.c @@ -105,7 +105,8 @@ int main(void) // Check ray collision against test sphere RayCollision sphereHitInfo = GetRayCollisionSphere(ray, sp, sr); - if ((sphereHitInfo.hit) && (sphereHitInfo.distance < collision.distance)) { + if ((sphereHitInfo.hit) && (sphereHitInfo.distance < collision.distance)) + { collision = sphereHitInfo; cursorColor = ORANGE; hitObjectName = "Sphere"; |
