mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
reviewed ALL non-external files to follow raylib's convention of no spaces around / or * (#5153)
This commit is contained in:
@ -130,12 +130,12 @@ int main(void)
|
||||
|
||||
while ((fabs(spots[i].speed.x) + fabs(spots[i].speed.y)) < 2)
|
||||
{
|
||||
spots[i].speed.x = GetRandomValue(-400, 40) / 10.0f;
|
||||
spots[i].speed.y = GetRandomValue(-400, 40) / 10.0f;
|
||||
spots[i].speed.x = GetRandomValue(-400, 40)/10.0f;
|
||||
spots[i].speed.y = GetRandomValue(-400, 40)/10.0f;
|
||||
}
|
||||
|
||||
spots[i].inner = 28.0f * (i + 1);
|
||||
spots[i].radius = 48.0f * (i + 1);
|
||||
spots[i].inner = 28.0f*(i + 1);
|
||||
spots[i].radius = 48.0f*(i + 1);
|
||||
|
||||
SetShaderValue(shdrSpot, spots[i].positionLoc, &spots[i].position.x, SHADER_UNIFORM_VEC2);
|
||||
SetShaderValue(shdrSpot, spots[i].innerLoc, &spots[i].inner, SHADER_UNIFORM_FLOAT);
|
||||
|
||||
Reference in New Issue
Block a user