excessive / cpml

Cirno's Perfect Math Library: Just about everything you need for 2D/3D games. Hopefully.

Home Page:https://excessive.github.io/cpml/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Color module does not use metamethods in its instances

aki-cat opened this issue · comments

When required, the color module will return a table that has as metatable the variable color_mt.
This color_mt contains important metamethods to use in color operations (__add, __mul, to name a few – good for color operations!).

But none of these metamethods are used by the actual color instances because there is no other table that uses color_mt as a metatable, not even indirectly.

Is this intended?