struct

RayTracerChallenge::Vector

Inherits RayTracerChallenge::Common < Struct < Value < Object

Instance methods

add(other : Vector)
add(other : Point)
cross(other : Vector)
dot(other : Vector)
magnitude
normalize
sub(other : Vector)
sub(other : Point)
to_tuple
vector?