struct Ray

Defined in:

ray.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(origin, direction, t_min = EPSILON, t_max = Float64::MAX) #

[View source]

Class Method Detail

def self.count #

[View source]

Instance Method Detail

def direction : Vector #

[View source]
def inv_direction : Vector #

[View source]
def origin : Point #

[View source]
def point_at_parameter(t) #

[View source]
def sign : Tuple(Int32, Int32, Int32) #

[View source]
def t_max : Float64 #

[View source]
def t_min : Float64 #

[View source]