Пример #1
0
void Camera::setOrientation( const Quatf &aOrientation )
{
	mOrientation = aOrientation.normalized();
	mViewDirection = mOrientation * Vec3f( 0.0f, 0.0f, -1.0f );
	mModelViewCached = false;
}