struct RayTracerChallenge::Point

Defined in:

ray_tracer_challenge/point.cr

Instance Method Summary

Instance methods inherited from struct RayTracerChallenge::Common

- -, div(scalar) div, mul(scalar) mul, point? point?, vector? vector?, w w, x : Float64 x, y : Float64 y, z : Float64 z

Constructor methods inherited from struct RayTracerChallenge::Common

new(x, y, z) new

Instance Method Detail

def add(other : Point | Vector) #

[View source]
def point? #

[View source]
def sub(p : Point) #

[View source]
def sub(v : Vector) #

[View source]
def to_tuple #

[View source]