RayTracer::CheckersPattern
Inherits RayTracer::Pattern < RayTracer::Tuple < RayTracer::Color < Reference < Object
Constructors
new(a : COLOR, b : COLOR, transform = Matrix::IDENTITY_4)
Sourcenew(a : Pattern, b : Pattern, transform = Matrix::IDENTITY_4)
SourceInstance methods
==(other : CheckersPattern)
Sourcedup
Returns a shallow copy of this object.
This allocates a new object and copies the contents of
self into it.
pattern_at(point : TUPLE)
Source