//<<<<<<<<<<<<<<<<<<<<<<<< roll >>>>>>>>>>>>>>>>>>>>>>>>>>> 
void Camera :: roll(float angle) 
{ 

	rotAxes( u, v, angle ); 

    setModelViewMatrix(); 
}
示例#2
0
void Camera::yaw(float _angle)
{
    rotAxes(m_u, m_n, _angle);
    setViewMatrix();
}
示例#3
0
void Camera::pitch(float _angle)
{
    rotAxes(m_n, m_v, _angle);
    setViewMatrix();
}
示例#4
0
void Camera::roll(float _angle)
{
    rotAxes(m_u, m_v, -_angle);
    setViewMatrix();
}
//<<<<<<<<<<<<<<<<<<<<<<<<< yawCameraLeft >>>>>>>>>>>>>>>>>>>>>>>> 
void Camera :: yaw(float angle) 
{ 
    rotAxes(u, n, angle); 
    setModelViewMatrix(); 
} 
//<<<<<<<<<<<<<<<<<<<<<<<< pitch >>>>>>>>>>>>>>>>>>>>>>>>> 
void Camera :: pitch(float angle) 
{ 
	rotAxes( n, v, angle );
	setModelViewMatrix();
} 
示例#7
0
//----------------------------------------------------------------------------------------------------------------------
void Camera::yaw(Real _angle ) noexcept
{
  rotAxes(m_u, m_n, _angle);
  setViewMatrix();
}
示例#8
0
//----------------------------------------------------------------------------------------------------------------------
void Camera::pitch(Real _angle ) noexcept
{
  rotAxes(m_n, m_v, _angle);
  setViewMatrix();
}
示例#9
0
//----------------------------------------------------------------------------------------------------------------------
void Camera::roll(Real _angle  ) noexcept
{
  rotAxes(m_u, m_v, -_angle);
  setViewMatrix();
}