Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
ray_tracer_challenge
master
Chapter2
PlotProjectile
Chapter4
ClockFace
Chapter5
RayCastSphere
Environment
Float64
Main
Projectile
RayTracerChallenge
Adapters
PpmWriter
RGB
SubPixel
SubPixelStream
Canvas
Color
Common
Intersection
Intersections
Point
Ray
Sphere
SquareMatrix
Transform
CoreExtensions
Float64
Extensions
Includes
Vector
Tuple
Generated using Crystal 1.14.0
2024-11-26 08:00:14 UTC
class
RayTracerChallenge::
Intersection
RayTracerChallenge::Intersection
Reference
Object
Defined in:
ray_tracer_challenge/intersection.cr
Constructors
.new
(_t, object : RayTracerChallenge::Sphere)
Instance Method Summary
#<=>
(other : Intersection)
#object
: Sphere
#t
: Float64
Constructor Detail
def self.
new
(_t, object :
RayTracerChallenge::Sphere
)
#
[
View source
]
Instance Method Detail
def
<=>
(other :
Intersection
)
#
[
View source
]
def
object
:
Sphere
#
[
View source
]
def
t
:
Float64
#
[
View source
]