class

RayTracer::PointLight

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

Constants

NIL = PointLight.new(point(0, 0, 0), color(0, 0, 0))

Constructors

new(position : TUPLE, intensity : COLOR)
Source

Instance methods

==(other)

Returns false (other can only be a Value here).

Source
intensity
Source
position
Source