struct RayTracerChallenge::Color

Defined in:

ray_tracer_challenge/color.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(red, green, blue) #

[View source]

Instance Method Detail

def add(other : Color) #

[View source]
def blue : Float64 #

[View source]
def color? #

[View source]
def green : Float64 #

[View source]
def hadamard_product(other : Color) #

[View source]
def mul(other : Color) #

[View source]
def mul(scalar) #

[View source]
def red : Float64 #

[View source]
def sub(other : Color) #

[View source]