diff options
Diffstat (limited to 'examples/resources/lib/matrix.lua')
| -rw-r--r-- | examples/resources/lib/matrix.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/resources/lib/matrix.lua b/examples/resources/lib/matrix.lua index 3b68118..3128610 100644 --- a/examples/resources/lib/matrix.lua +++ b/examples/resources/lib/matrix.lua @@ -41,7 +41,10 @@ Matrix.meta = { end, __mul = function( m1, m2 ) return Matrix:new( RL.MatrixMultiply( m1, m2 ) ) - end + end, + __concat = function( a, b ) + return tostring( a )..tostring( b ) + end, } function Matrix:new( m ) |
