Rune lib and __concat for variable libs.

This commit is contained in:
jussi
2024-01-30 13:36:23 +02:00
parent 143453af9e
commit d21512d88c
14 changed files with 145 additions and 27 deletions

View File

@@ -38,6 +38,9 @@ Rectangle.meta = {
__eq = function( r1, r2 )
return RL.Vector2Equals( { r1.x, r1.y }, { r2.x, r2.y } ) and RL.Vector2Equals( { r1.width, r1.height }, { r2.width, r2.height } )
end,
__concat = function( a, b )
return tostring( a )..tostring( b )
end,
}
function Rectangle:new( x, y, width, height )