forgot the index metamethod
This commit is contained in:
parent
a84a9e98bb
commit
3bc5fe1d92
@ -113,4 +113,6 @@ function Vector3:__tostring()
|
|||||||
return "Vector3(" .. tostring(self.x) .. ", " .. tostring(self.y) .. ", " .. tostring(self.z) .. ")"
|
return "Vector3(" .. tostring(self.x) .. ", " .. tostring(self.y) .. ", " .. tostring(self.z) .. ")"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Vector3.__index = Vector3
|
||||||
|
|
||||||
return Vector3
|
return Vector3
|
Reference in New Issue
Block a user