Class: Ogre::Camera
Instance Method Summary collapse
-
#look_at(v) ⇒ Object
Look at an object You can send it a node, mesh, or anything with a position vector Or just a vector.
- #raw_look_at ⇒ Object
Instance Method Details
#look_at(v) ⇒ Object
Look at an object You can send it a node, mesh, or anything with a position vector Or just a vector
9 10 11 12 |
# File 'lib/shattered_ogrerb/camera.rb', line 9 def look_at(v) v = v.position if v.class.respond_to? :position raw_look_at v.to_v end |
#raw_look_at ⇒ Object
4 |
# File 'lib/shattered_ogrerb/camera.rb', line 4 alias_method :raw_look_at, :look_at |