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

@@ -41,6 +41,9 @@ Color.meta = {
and math.floor( c1.b ) == math.floor( c2.b )
and math.floor( c1.a ) == math.floor( c2.a )
end,
__concat = function( a, b )
return tostring( a )..tostring( b )
end,
}
function Color:new( r, g, b, a )