fixed typo meaning z could fallback incorrectly in vec3:sset

fixes #73
This commit is contained in:
Max Cahill 2024-07-15 12:13:10 +10:00
parent d31d7425aa
commit e10a6bf498

View File

@ -73,7 +73,7 @@ end
function vec3:sset(x, y, z) function vec3:sset(x, y, z)
self.x = x self.x = x
self.y = y or x self.y = y or x
self.z = z or y or z self.z = z or y or x
return self return self
end end