Review code formatting

This commit is contained in:
Ray 2021-06-03 20:25:28 +02:00
parent edeaff4bd4
commit 121c689b78
3 changed files with 47 additions and 43 deletions

View file

@ -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";