@brief �����ӿ�
| 294 | |
| 295 | /// @brief �����ӿ� |
| 296 | bool SetViewport(double left, double right, double bottom, double top)LNOEXCEPT |
| 297 | { |
| 298 | if (FCYFAILED(m_pRenderDev->SetViewport(fcyRect( |
| 299 | static_cast<float>((int)left), |
| 300 | static_cast<float>((int)m_pRenderDev->GetBufferHeight() - (int)top), |
| 301 | static_cast<float>((int)right), |
| 302 | static_cast<float>((int)m_pRenderDev->GetBufferHeight() - (int)bottom) |
| 303 | )))) |
| 304 | { |
| 305 | LERROR("�����ӿ�(left: %lf, right: %lf, bottom: %lf, top: %lf)ʧ��", left, right, bottom, top); |
| 306 | return false; |
| 307 | } |
| 308 | return true; |
| 309 | } |
| 310 | |
| 311 | /// @brief ������ͶӰ���� |
| 312 | void SetOrtho(float left, float right, float bottom, float top)LNOEXCEPT |
nothing calls this directly
no outgoing calls
no test coverage detected