class

RayTracer::Pattern

Inherits RayTracer::Tuple < RayTracer::Color < Reference < Object

Constructors

new(transform : RayTracer::Matrix = Matrix::IDENTITY_4)
Source

Instance methods

==(other : Pattern)
Source
dup

Returns a shallow copy of this object.

This allocates a new object and copies the contents of self into it.

Source
inverse_transform
Source
pattern_at(point : TUPLE)
Source
pattern_at_shape(object : Shape, world_point : TUPLE)
Source
transform
Source
transform=(val : Matrix)
Source
transpose_inverse_transform
Source