struct Ray

Defined in:

ray.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(origin : Vec3, direction : Vec3, tm : Float64 = 0.0) #

[View source]

Instance Method Detail

def at(t : Float64) #

[View source]
def direction : Vec3 #

[View source]
def origin : Vec3 #

[View source]
def tm : Float64 #

[View source]