diff options
| author | Michael Kutowski <skytrias@protonmail.com> | 2020-08-29 22:33:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-29 22:33:24 +0200 |
| commit | 7b0ba769151faf51d5c6606282cbf90e3cedbdd3 (patch) | |
| tree | 9ef87e2d5d83b3453994c5b9f2f4d40663700551 /core/math | |
| parent | bd8ca64a306b6223df7e050b4d387f98a12dbb82 (diff) | |
Update specific.odin
Diffstat (limited to 'core/math')
| -rw-r--r-- | core/math/linalg/specific.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/linalg/specific.odin b/core/math/linalg/specific.odin index 7aad55a11..7aee992d0 100644 --- a/core/math/linalg/specific.odin +++ b/core/math/linalg/specific.odin @@ -119,7 +119,7 @@ vector4_linear_to_srgb :: proc(col: Vector4) -> Vector4 { } vector4_hsl_to_rgb :: proc(h, s, l: Float, a: Float = 1) -> Vector4 { - hue_to_rgb :: proc(p, q, t0: Float) -> Float { + hue_to_rgb :: proc(p, q, t: Float) -> Float { t := t; if t < 0 do t += 1; if t > 1 do t -= 1; |