diff options
| author | raysan5 <[email protected]> | 2020-09-07 19:33:06 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2020-09-07 19:33:06 +0200 |
| commit | f1ed8be5d7e2d966d577a3fd28e53447a398b3b6 (patch) | |
| tree | ffedc95824890dad3ee654d1a746e1b37f9d509e /examples/models | |
| parent | 85d5744679a14ca52ca40f924ab4f7614bf7e17c (diff) | |
| download | raylib-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.c | 2 |
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; |
