SpiecsEngine
 
Loading...
Searching...
No Matches

◆ SetOrthographic()

void Spices::Camera::SetOrthographic ( float left,
float right,
float top,
float bottom,
float nearPlane,
float farPlane )

Set ProjectionMatrix by using orthographic type.

Parameters
[in]leftOrthographic Box Left size.
[in]rightOrthographic Box right size.
[in]topOrthographic Box top size.
[in]bottomOrthographic Box bottom size.
[in]nearPlaneOrthographic Box nearPlane size.
[in]farPlaneOrthographic Box farPlane size.

Definition at line 35 of file Camera.cpp.

36 {
38
40
47 }
#define SPICES_PROFILE_ZONE
OrthographicParam m_OrthographicParam
Camera OrthographicParam.
Definition Camera.h:184
ProjectionType m_ProjectionType
Definition Camera.h:169
@ Orthographic
orthographic
Definition Camera.h:27

References Spices::OrthographicParam::bottom, Spices::OrthographicParam::farPlane, Spices::OrthographicParam::left, m_OrthographicParam, m_ProjectionType, Spices::OrthographicParam::nearPlane, Spices::Orthographic, Spices::OrthographicParam::right, and Spices::OrthographicParam::top.