2 Commits

Author SHA1 Message Date
David Briscoe
509594aec2 color: Use color_mt and normal indexing
Fix #34.

Set color_mt on new colors so add, subtract, multiply, is_color work.

We don't use ffi for color (32cf0e8), so remove cdata check for 0-based
offset indexing.

Add tests for creating colours and using operators.
2022-04-01 19:55:55 -07:00
karai17
52814eed9f Added a few more specs, no new tests though 2016-07-25 02:07:24 -03:00