RayTracer::SolidPattern
Inherits RayTracer::Pattern < RayTracer::Tuple < RayTracer::Color < Reference < Object
Constructors
new(color : COLOR, transform = Matrix::IDENTITY_4)
SourceInstance methods
==(other : SolidPattern)
Sourcecolor
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