class

RayTracer::StripePattern

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

Constructors

new(a : COLOR, b : COLOR, transform = Matrix::IDENTITY_4)
Source
new(a : Int32, b : Int32, transform = Matrix::IDENTITY_4)
Source
new(a : Pattern, b : Pattern, transform = Matrix::IDENTITY_4)
Source

Instance methods

==(other : StripePattern)
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