Class: RuPov::LightSources::PointLight
- Inherits:
-
LightSource
- Object
- Base
- LightSource
- RuPov::LightSources::PointLight
- Defined in:
- lib/rupov.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(location, colour) ⇒ PointLight
constructor
A new instance of PointLight.
Methods inherited from Base
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 |