コード例 #1
0
void Camera::PanOrRotate(float x, float y, float dx, float dy)
{
    if(mPanCamera)
    {
        Pan(x, y, dx, dy);
    } else
    {
        RotateAxis(dx, dy);
    }
}
コード例 #2
0
ファイル: cVec3.cpp プロジェクト: pilkch/library
 void cVec3::RotateByQuaternion(const cQuaternion& rhs)
 {
   RotateAxis(rhs.GetAngleRadians(), rhs.GetAxis());
 }