Class: RuPov::Camera::Basic

Inherits:
Camera 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, direction) ⇒ Basic

Returns a new instance of Basic.



279
280
281
282
283
284
# File 'lib/rupov.rb', line 279

def initialize( location, direction )
    # direct could be Methods::LookAt or Methods::Direction
    super()
    self << location
    self << direction
end