Commit b08dbc49 authored by cutealien's avatar cutealien

Update camera documentation.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3896 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 8a7245c1
...@@ -76,6 +76,9 @@ namespace scene ...@@ -76,6 +76,9 @@ namespace scene
/** If the camera's target and rotation are bound ( @see /** If the camera's target and rotation are bound ( @see
bindTargetAndRotation() ) then calling this will also change bindTargetAndRotation() ) then calling this will also change
the camera's scene node rotation to match the target. the camera's scene node rotation to match the target.
Note that setTarget uses the current absolute position
internally, so if you changed setPosition since last rendering you must
call updateAbsolutePosition before using this function.
\param pos Look at target of the camera, in world co-ordinates. */ \param pos Look at target of the camera, in world co-ordinates. */
virtual void setTarget(const core::vector3df& pos) =0; virtual void setTarget(const core::vector3df& pos) =0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment