Sources/CryGame C++/Solution1/CryGame/XPlayerCamera.cpp
//////////////////////////////////////////////////////////////////////////
// sets players EYE position (camera for fpv)

sets players EYE position (camera for fpv)
sets players EYE position ( camera for fpv )
void CPlayer::SetEyePosDead()
{
	if (!m_pBoneHead)
		return;
	SetEyePosBone();
	m_vEyePos.z += .3f;
	CryQuat qt=m_pBoneHead->GetParentWQuat();
	Matrix33	mat(qt);
	Vec3 ang=RAD2DEG(Ang3::GetAnglesXYZ( mat ));
	m_vEyeAngles.x = -ang.x; 
	m_vEyeAngles.y = ang.z; 
	m_vEyeAngles.z = ang.y; 
}
void CPlayer :: SetEyePosDead ( ) { if ( ! m_pBoneHead ) return ; SetEyePosBone ( ) ; m_vEyePos . z += .3f ; CryQuat qt = m_pBoneHead -> GetParentWQuat ( ) ; Matrix33 mat ( qt ) ; Vec3 ang = RAD2DEG ( Ang3 :: GetAnglesXYZ ( mat ) ) ; m_vEyeAngles . x = - ang . x ; m_vEyeAngles . y = ang . z ; m_vEyeAngles . z = ang . y ; }
sets players EYE position (camera for fpv)
sets players EYE position ( camera for fpv )