Updates for IRIX build, and docs updates.

This commit is contained in:
Robert Osfield
2002-02-12 22:51:18 +00:00
parent 18d1365a22
commit 3ef8e4b0dd
7 changed files with 25 additions and 37 deletions

View File

@@ -395,13 +395,14 @@ void Camera::setLookAt(const double eyeX, const double eyeY, const double eyeZ,
* note, does not affect any ModelTransforms that are applied.*/
void Camera::transformLookAt(const Matrix& matrix)
{
// cout << "transformLookAt"<<matrix<<std::endl;
_up = (_up+_eye)*matrix;
_eye = _eye*matrix;
_center = _center*matrix;
_up -= _eye;
_up.normalize();
_lookAtType=USE_EYE_CENTER_AND_UP;
_dirty = true;
}