summaryrefslogtreecommitdiff
path: root/examples/resources/lib/vector3.lua
diff options
context:
space:
mode:
Diffstat (limited to 'examples/resources/lib/vector3.lua')
-rw-r--r--examples/resources/lib/vector3.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/resources/lib/vector3.lua b/examples/resources/lib/vector3.lua
index ca294e9..9b77881 100644
--- a/examples/resources/lib/vector3.lua
+++ b/examples/resources/lib/vector3.lua
@@ -38,6 +38,9 @@ Vector3.meta = {
__eq = function( v1, v2 )
return RL.Vector3Equals( v1, v2 ) == 1
end,
+ __concat = function( a, b )
+ return tostring( a )..tostring( b )
+ end,
}
function Vector3:new( x, y, z )