| PathEngine home | previous: | next: |
Version of lookAt() accepting extra precision.
void lookAtWithPrecision(const cPosition& target, float angle, float elevation, float distance, float precisionX, float precisionY);
|
| target | The position to look at. | ||
| angle |
Orientation of the camera in the horizontal plane. This angle is in radians, zero puts the camera along the positive y axis and increasing values rotate the camera clockwise around the target. | ||
| elevation |
Elevation of the camera. This angle is in radians, zero puts the camera horizontal, increasing values raise the camera decreasing values lower the camera. | ||
| distance | Distance of the camera from the target. | ||
| precisionX | Extra precision for the x component of the agent's position. | ||
| precisionY | Extra precision for the y component of the agent's position. |
See
| Documentation for PathEngine release 5.18 - Copyright © 2002-2008 PathEngine | next: |