Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
RayTracer::Camera
Inherits
RayTracer::Tuple
<
Reference
<
Object
Constructors
new
(hsize :
UInt32
, vsize :
UInt32
, field_of_view :
Float64
, transform :
Matrix
=
Matrix::IDENTITY_4
)
Source
Instance methods
field_of_view
Source
hsize
Source
pixel_size
Source
ray_for_pixel
(px, py)
Source
render
(world :
World
, progress = false)
Source
transform
Source
vsize
Source