Review code formatting
This commit is contained in:
parent
edeaff4bd4
commit
121c689b78
3 changed files with 47 additions and 43 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue