summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorRay <[email protected]>2021-06-03 20:25:28 +0200
committerRay <[email protected]>2021-06-03 20:25:28 +0200
commit121c689b78290c2d89ae25b956ac036889570afe (patch)
tree52f5e371f16457768dd57e95f95f87e4cec2987b /examples
parentedeaff4bd4010eaa46f09f47d0b78f27b4ff836e (diff)
downloadraylib-121c689b78290c2d89ae25b956ac036889570afe.tar.gz
raylib-121c689b78290c2d89ae25b956ac036889570afe.zip
Review code formatting
Diffstat (limited to 'examples')
-rw-r--r--examples/models/models_mesh_picking.c3
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";