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
struct
RayTracerChallenge::
Adapters::
SubPixel
RayTracerChallenge::Adapters::SubPixel
Struct
Value
Object
Defined in:
ray_tracer_challenge/adapters/sub_pixel.cr
Constructors
.new
(x : Int32, y : Int32, rgb : RGB, value : Int32)
Instance Method Summary
#rgb
: RayTracerChallenge::Adapters::RGB
#value
: Int32
#x
: Int32
#y
: Int32
Constructor Detail
def self.
new
(x : Int32, y : Int32, rgb :
RGB
, value : Int32)
#
[
View source
]
Instance Method Detail
def
rgb
:
RayTracerChallenge::Adapters::RGB
#
[
View source
]
def
value
: Int32
#
[
View source
]
def
x
: Int32
#
[
View source
]
def
y
: Int32
#
[
View source
]