| void Spices::Camera::SetPerspective | ( | float | aspectRatio | ) |
Set ProjectionMatrix by using perspective type with one param.
| [in] | aspectRatio | AspectRatio, viewport width / viewport height. |
Definition at line 26 of file Camera.cpp.
References Spices::PerspectiveParam::fov, m_PerspectiveParam, m_ProjectionType, Spices::PerspectiveParam::nearPlane, Spices::Perspective, and SetPerspective().