summaryrefslogtreecommitdiff
path: root/examples/resources
diff options
context:
space:
mode:
authorjussi2024-05-05 21:39:25 +0300
committerjussi2024-05-05 21:39:25 +0300
commit02e1984781259c1f02d95ccb3bde8c533ef288a8 (patch)
tree52ca050f9cc37060289006c0d20aaa946889fe08 /examples/resources
parent348fd4f5211940b1e5c5990380d69b03dea3e5e8 (diff)
downloadreilua-enhanced-02e1984781259c1f02d95ccb3bde8c533ef288a8.tar.gz
reilua-enhanced-02e1984781259c1f02d95ccb3bde8c533ef288a8.tar.bz2
reilua-enhanced-02e1984781259c1f02d95ccb3bde8c533ef288a8.zip
Removed __idiv metamethod from color lib for LuaJIT compatibility.
Diffstat (limited to 'examples/resources')
-rw-r--r--examples/resources/lib/color.lua3
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,