Class: RuPov::LightSources::PointLight

Inherits:
LightSource show all
Defined in:
lib/rupov.rb

Instance Attribute Summary

Attributes inherited from Base

#name

Instance Method Summary collapse

Methods inherited from Base

#<<, #to_s

Constructor Details

#initialize(location, colour) ⇒ PointLight

Returns a new instance of PointLight.



254
255
256
257
# File 'lib/rupov.rb', line 254

def initialize( location, colour )
    super()
    self << Methods::MultiValue.new( [location,colour] )
end