class

RayTracer::SolidPattern

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

Constructors

new(color : COLOR, transform = Matrix::IDENTITY_4)
Source
new(color : Int32, transform = Matrix::IDENTITY_4)
Source

Instance methods

==(other : SolidPattern)
Source
color
Source
dup

Returns a shallow copy of this object.

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

Source
pattern_at(point : TUPLE)
Source