struct CrystalRayTracer::Color

Defined in:

crystal_ray_tracer/color.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(r : Float64, g : Float64, b : Float64) #

[View source]

Class Method Detail

def self.mult(v1, v2) #

[View source]
def self.plus(v1, v2) #

[View source]
def self.scale(k, v) #

[View source]
def self.toDrawingColor(c) #

[View source]

Instance Method Detail

def b : Float64 #

[View source]
def g : Float64 #

[View source]
def r : Float64 #

[View source]