From e10a6bf498bd289674c882f73cc0744c94a9888d Mon Sep 17 00:00:00 2001 From: Max Cahill Date: Mon, 15 Jul 2024 12:13:10 +1000 Subject: [PATCH] fixed typo meaning z could fallback incorrectly in vec3:sset fixes #73 --- vec3.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vec3.lua b/vec3.lua index 251420f..ca14260 100644 --- a/vec3.lua +++ b/vec3.lua @@ -73,7 +73,7 @@ end function vec3:sset(x, y, z) self.x = x self.y = y or x - self.z = z or y or z + self.z = z or y or x return self end