Colours are now Vectors, added rainbow pigment.
[raymarcher.git] / Colours.lua
1 --- Some pre-defined colours
2
3 require "Vector"
4 local V = Vector
5
6 Colours = {
7    red = V.new{1,0,0},
8    green = V.new{0,1,0},
9    blue = V.new{0,0,1},
10    yellow = V.new{1,1,0},
11    magenta = V.new{1,0,1},
12    cyan = V.new{0,1,1}
13 }
14
15 return Colours