module RayTracer::Color
Extended Modules
Direct including types
Defined in:
ray_tracer/color.crConstant Summary
-
BLACK =
color(0, 0, 0)
-
WHITE =
color(1, 1, 1)
Instance Method Summary
- #abs(c : COLOR)
- #add(c1 : COLOR, c2 : COLOR)
- #color(r : Float32, g : Float32, b : Float32)
- #color(h : Int32)
- #divide(c : COLOR, s : Float32)
- #multiply(c : COLOR, s : Float32)
- #multiply(c1 : COLOR, c2 : COLOR)
- #subtract(c1 : COLOR, c2 : COLOR)