diff options
| author | jussi | 2024-05-05 21:39:25 +0300 |
|---|---|---|
| committer | jussi | 2024-05-05 21:39:25 +0300 |
| commit | 02e1984781259c1f02d95ccb3bde8c533ef288a8 (patch) | |
| tree | 52ca050f9cc37060289006c0d20aaa946889fe08 | |
| parent | 348fd4f5211940b1e5c5990380d69b03dea3e5e8 (diff) | |
| download | reilua-enhanced-02e1984781259c1f02d95ccb3bde8c533ef288a8.tar.gz reilua-enhanced-02e1984781259c1f02d95ccb3bde8c533ef288a8.tar.bz2 reilua-enhanced-02e1984781259c1f02d95ccb3bde8c533ef288a8.zip | |
Removed __idiv metamethod from color lib for LuaJIT compatibility.
| -rw-r--r-- | examples/resources/lib/color.lua | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/resources/lib/color.lua b/examples/resources/lib/color.lua index 7c98e92..9fc31f0 100644 --- a/examples/resources/lib/color.lua +++ b/examples/resources/lib/color.lua @@ -29,9 +29,6 @@ local metatable = { __pow = function( c, v ) return Color:new( c.r ^ v, c.g ^ v, c.b ^ v, c.a ^ v ) end, - __idiv = function( c, v ) - return Color:new( c.r // v, c.g // v, c.b // v, c.a // v ) - end, __len = function() return 4 end, |
