Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
RayTracerChallenge::Ray
Inherits
Reference
<
Object
Constructors
new
(origin :
RayTracerChallenge::Point
, direction :
RayTracerChallenge::Vector
)
Instance methods
calculate_intersects
(sphere :
Sphere
)
direction
intersects
(sphere :
Sphere
)
origin
position
(ticks)
transform
(matrix :
SquareMatrix
)