Searched defs:newDirection (Results 1 - 1 of 1) sorted by relevance

/external/eigen/demos/opengl/
H A Dcamera.cpp102 void Camera::setDirection(const Vector3f& newDirection) argument
104 // TODO implement it computing the rotation between newDirection and current dir ?
109 camAxes.col(2) = (-newDirection).normalized();
122 Vector3f newDirection = mTarget - position(); local
123 setDirection(newDirection.normalized());

Completed in 80 milliseconds