aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikkel Hjortshøj <fyoucon@gmail.com>2020-08-29 22:48:49 +0200
committerGitHub <noreply@github.com>2020-08-29 22:48:49 +0200
commit31989c93ac3aa291f9677da22e2ec57aec0281eb (patch)
tree9ef87e2d5d83b3453994c5b9f2f4d40663700551
parent32fda798f39a2fc638823d80dfd4d19edb6c8ca8 (diff)
parent7b0ba769151faf51d5c6606282cbf90e3cedbdd3 (diff)
Merge pull request #725 from Skytrias/masterv0.13.0
fix t0 not being t
-rw-r--r--core/math/linalg/specific.odin2
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;