Vect3f CCameraController::GetUp() const
{
	Vect3f l_Up(-cos(m_Yaw)*sin(m_Pitch), cos(m_Pitch), -sin(m_Yaw)*sin(m_Pitch));
	return l_Up;
}
Example #2
0
XMFLOAT3 CCameraController::GetUp() const
{
    XMFLOAT3 l_Up(-cos(m_Yaw)*sin(m_Pitch), cos(m_Pitch), -sin(m_Yaw)*sin(m_Pitch));
    return l_Up;
}