void Camera::PanOrRotate(float x, float y, float dx, float dy)
{
    if(mPanCamera)
    {
        Pan(x, y, dx, dy);
    } else
    {
        RotateAxis(dx, dy);
    }
}
Example #2
0
 void cVec3::RotateByQuaternion(const cQuaternion& rhs)
 {
   RotateAxis(rhs.GetAngleRadians(), rhs.GetAxis());
 }