From 9fbe8cc3c499a6afbecabbabae9444aadbc146b2 Mon Sep 17 00:00:00 2001 From: Max Cahill <1bardesign@gmail.com> Date: Wed, 8 Apr 2020 21:25:42 +1000 Subject: [PATCH] [fixed] typo in vec3 tostring --- vec3.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vec3.lua b/vec3.lua index 400b559..a8f47fb 100644 --- a/vec3.lua +++ b/vec3.lua @@ -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