mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-14 02:22:34 +00:00
REVIEWED: Formatting to follow raylib conventions
This commit is contained in:
@@ -254,9 +254,9 @@ int main(void)
|
||||
{
|
||||
Color lightColor = (Color){
|
||||
(unsigned char)(lights[i].color[0]*255),
|
||||
(unsigned char)(lights[i].color[1] * 255),
|
||||
(unsigned char)(lights[i].color[2] * 255),
|
||||
(unsigned char)(lights[i].color[3] * 255) };
|
||||
(unsigned char)(lights[i].color[1]*255),
|
||||
(unsigned char)(lights[i].color[2]*255),
|
||||
(unsigned char)(lights[i].color[3]*255) };
|
||||
|
||||
if (lights[i].enabled) DrawSphereEx(lights[i].position, 0.2f, 8, 8, lightColor);
|
||||
else DrawSphereWires(lights[i].position, 0.2f, 8, 8, ColorAlpha(lightColor, 0.3f));
|
||||
|
||||
Reference in New Issue
Block a user