@brief ������ͶӰ����
| 310 | |
| 311 | /// @brief ������ͶӰ���� |
| 312 | void SetOrtho(float left, float right, float bottom, float top)LNOEXCEPT |
| 313 | { |
| 314 | if (m_GraphType == GraphicsType::Graph2D) |
| 315 | { |
| 316 | // luastg��lua�����Ѿ������������� |
| 317 | // m_Graph2D->SetWorldTransform(fcyMatrix4::GetTranslateMatrix(fcyVec3(-0.5f, -0.5f, 0.f))); |
| 318 | m_Graph2D->SetWorldTransform(fcyMatrix4::GetIdentity()); |
| 319 | m_Graph2D->SetViewTransform(fcyMatrix4::GetIdentity()); |
| 320 | m_Graph2D->SetProjTransform(fcyMatrix4::GetOrthoOffCenterLH(left, right, bottom, top, 0.f, 100.f)); |
| 321 | } |
| 322 | } |
| 323 | |
| 324 | /// @brief ������ͶӰ���� |
| 325 | void SetPerspective(float eyeX, float eyeY, float eyeZ, float atX, float atY, float atZ, |
nothing calls this directly
no outgoing calls
no test coverage detected