struct ONB

Defined in:

onb.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(u, v, w) #

[View source]

Class Method Detail

def self.from_w(n : Normal) #

[View source]

Instance Method Detail

def local_to_world(vec) #

[View source]
def u : Vector #

[View source]
def v : Vector #

[View source]
def w : Vector #

[View source]
def world_to_local(vec) #

[View source]