summaryrefslogtreecommitdiffhomepage
path: root/examples/models
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2020-09-07 19:33:06 +0200
committerraysan5 <[email protected]>2020-09-07 19:33:06 +0200
commitf1ed8be5d7e2d966d577a3fd28e53447a398b3b6 (patch)
treeffedc95824890dad3ee654d1a746e1b37f9d509e /examples/models
parent85d5744679a14ca52ca40f924ab4f7614bf7e17c (diff)
downloadraylib-f1ed8be5d7e2d966d577a3fd28e53447a398b3b6.tar.gz
raylib-f1ed8be5d7e2d966d577a3fd28e53447a398b3b6.zip
REDESIGNED: ColorFromHSV()
Replaced Vector3 by direct values, easier to use and understand
Diffstat (limited to 'examples/models')
-rw-r--r--examples/models/models_waving_cubes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/models/models_waving_cubes.c b/examples/models/models_waving_cubes.c
index f6309bd6..764dc5e7 100644
--- a/examples/models/models_waving_cubes.c
+++ b/examples/models/models_waving_cubes.c
@@ -84,7 +84,7 @@ int main()
};
// Pick a color with a hue depending on cube position for the rainbow color effect
- Color cubeColor = ColorFromHSV((Vector3){ (float)(((x + y + z)*18)%360), 0.75f, 0.9f });
+ Color cubeColor = ColorFromHSV((float)(((x + y + z)*18)%360), 0.75f, 0.9f);
// Calculate cube size
float cubeSize = (2.4f - scale)*blockScale;