reviewed ALL non-external files to follow raylib's convention of no spaces around / or * (#5153)

This commit is contained in:
JohnnyCena123
2025-08-29 15:53:16 +03:00
committed by GitHub
parent 507c85900f
commit 0e73e0ea64
34 changed files with 122 additions and 122 deletions

View File

@ -115,22 +115,22 @@ int main(void)
if (IsKeyDown(KEY_LEFT))
{
if (lightDir.x < 0.6f)
lightDir.x += cameraSpeed * 60.0f * dt;
lightDir.x += cameraSpeed*60.0f*dt;
}
if (IsKeyDown(KEY_RIGHT))
{
if (lightDir.x > -0.6f)
lightDir.x -= cameraSpeed * 60.0f * dt;
lightDir.x -= cameraSpeed*60.0f*dt;
}
if (IsKeyDown(KEY_UP))
{
if (lightDir.z < 0.6f)
lightDir.z += cameraSpeed * 60.0f * dt;
lightDir.z += cameraSpeed*60.0f*dt;
}
if (IsKeyDown(KEY_DOWN))
{
if (lightDir.z > -0.6f)
lightDir.z -= cameraSpeed * 60.0f * dt;
lightDir.z -= cameraSpeed*60.0f*dt;
}
lightDir = Vector3Normalize(lightDir);
lightCam.position = Vector3Scale(lightDir, -15.0f);