[fixed] typo in vec3 tostring

This commit is contained in:
Max Cahill 2020-04-08 21:25:42 +10:00
parent a87380f43c
commit 9fbe8cc3c4

View File

@ -12,7 +12,7 @@ local vec3 = class()
vec3.type = "vec3"
--stringification
vec2.__mt.__tostring = function(self)
vec3.__mt.__tostring = function(self)
return ("(%.2f, %.2f, %.2f)"):format(self.x, self.y, self.z)
end