]> git.lizzy.rs Git - nothing.git/commitdiff
(#788) Additional work
authorrexim <reximkut@gmail.com>
Mon, 1 Jul 2019 18:21:23 +0000 (01:21 +0700)
committerrexim <reximkut@gmail.com>
Mon, 1 Jul 2019 18:21:23 +0000 (01:21 +0700)
src/color.c
src/game/level/level_editor/color_picker.c

index 7f50b2e4a7527b102c306bc5be65ed1a07f3e2c4..24e50dc8dd11f8f976920151a2b317f91f8b6629 100644 (file)
@@ -15,7 +15,7 @@ Color rgba(float r, float g, float b, float a)
     return result;
 }
 
-/* TODO: hue is in degrees in 2019 */
+/* TODO: Should the Hue in HSLA representation be in degrees? */
 Color hsla(float h, float s, float l, float a)
 {
     h = fmodf(h, 360.0f);
index b1b86a376db401421614c25250126883addc471f..636e44e3548b111166248f8e947fe360cdeb299c 100644 (file)
@@ -50,6 +50,7 @@ int color_picker_read_from_line_stream(ColorPicker *color_picker,
     return 0;
 }
 
+// TODO: Color Picker doesn't have any visual indication about the current color
 int color_picker_render(const ColorPicker *color_picker,
                         Camera *camera)
 {