ProjectionMatrixSet
Calculates and sets a 3D coordinate projection matrix to a 2D frame.
void ProjectionMatrixSet(
float fov,
float aspect_ratio,
float z_near,
float z_far
);
|
Parameters
fov
[in] Field of view width in radians to create a scene projection.
aspect_ratio
[in] 2D frame aspect ratio.
z_near
[in] Distance to the near clipping plane.
z_far
[in] Distance to the far clipping plane.
Return Value
Note