diff options
| author | Mikkel Hjortshøj <fyoucon@gmail.com> | 2020-08-29 22:48:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-29 22:48:49 +0200 |
| commit | 31989c93ac3aa291f9677da22e2ec57aec0281eb (patch) | |
| tree | 9ef87e2d5d83b3453994c5b9f2f4d40663700551 /core/math/linalg | |
| parent | 32fda798f39a2fc638823d80dfd4d19edb6c8ca8 (diff) | |
| parent | 7b0ba769151faf51d5c6606282cbf90e3cedbdd3 (diff) | |
Merge pull request #725 from Skytrias/masterv0.13.0
fix t0 not being t
Diffstat (limited to 'core/math/linalg')
| -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; |