PathEngine home previous: iTestBed::lookAt()next: iTestBed::meshObstructsCamera()
Contents, API Reference, Interfaces, iTestBed, lookAtWithPrecision



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 iTestBed::lookAtWithPrecision().

Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEnginenext: iTestBed::meshObstructsCamera()