Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
renderer
main
Chapter1
Environment
Projectile
TUPLE
Chapter10
Chapter2
Environment
Projectile
TUPLE
Chapter4
TUPLE
Chapter5
TUPLE
Chapter6
TUPLE
Chapter7
TUPLE
Chapter8
TUPLE
Chapter9
TUPLE
Line
NamedTuple
RayTracer
BlendedPattern
Camera
Canvas
CheckersPattern
Color
COLOR
Computation
GradientPattern
Intersection
Intersections
Material
Matrix
Pattern
Plane
PointLight
Ray
RingPattern
Shape
SolidPattern
Sphere
StripePattern
Tuple
TUPLE
World
Renderable
String
Texture
Window
Generated using Crystal 1.14.0
2024-11-26 08:49:40 UTC
class
RayTracer::
Intersection
RayTracer::Intersection
Reference
Object
Defined in:
ray_tracer/intersection.cr
Constructors
.new
(t : Float64, object : Shape)
Instance Method Summary
#object
: RayTracer::Shape
#t
: Float64
Constructor Detail
def self.
new
(t : Float64, object :
Shape
)
#
[
View source
]
Instance Method Detail
def
object
:
RayTracer::Shape
#
[
View source
]
def
t
: Float64
#
[
View source
]