#include <cameraTarget.h>
Public Member Functions | |
| void | update () |
| Update the camera target. | |
Set/Get methods | |
| void | set_target (ENTITY *inEnt, const unit x=0, const unit y=0, const unit z=0) |
| Set the camera target to an entity. | |
| const CVector3D & | pos () const |
| |
| const CAngle3D & | ang () const |
| |
| ENTITY * | pEnt () const |
| |
(c) 2007-2008 oP group Germany GbR. All rights reserved.
This source code is provided "as is" with no warranty and must not be distributed without written permission.
| void CCameraTarget::update | ( | ) |
Update the camera target.
| void CCameraTarget::set_target | ( | ENTITY * | inEnt, | |
| const unit | x = 0, |
|||
| const unit | y = 0, |
|||
| const unit | z = 0 | |||
| ) |
Set the camera target to an entity.
| inEnt | A pointer to a valid ENTITY | |
| x | Units in the X to offset the camera | |
| y | Units in the Y to offset the camera | |
| z | Units in the Z to offset the camera |
1.5.4