@brief ������ͶӰ����
| 323 | |
| 324 | /// @brief ������ͶӰ���� |
| 325 | void SetPerspective(float eyeX, float eyeY, float eyeZ, float atX, float atY, float atZ, |
| 326 | float upX, float upY, float upZ, float fovy, float aspect, float zn, float zf)LNOEXCEPT |
| 327 | { |
| 328 | if (m_GraphType == GraphicsType::Graph2D) |
| 329 | { |
| 330 | m_Graph2D->SetWorldTransform(fcyMatrix4::GetIdentity()); |
| 331 | m_Graph2D->SetViewTransform(fcyMatrix4::GetLookAtLH(fcyVec3(eyeX, eyeY, eyeZ), fcyVec3(atX, atY, atZ), fcyVec3(upX, upY, upZ))); |
| 332 | m_Graph2D->SetProjTransform(fcyMatrix4::GetPespctiveLH(aspect, fovy, zn, zf)); |
| 333 | } |
| 334 | } |
| 335 | |
| 336 | /// @brief ������ֵ |
| 337 | /// @note ��չ������������Ƴ��� |
nothing calls this directly
no outgoing calls
no test coverage detected