EZ_Perspective(3) EZWGL Functions EZ_Perspective(3)NAMEEZ_Perspective - multiply the current matrix by a perspective projec‐
tion matrix
SYNOPSIS
#include <EZ.h>
void EZ_Perspective(float foy, float aspect, float near, float far)
ARGUMENTS
foy Specifies the field of angle (in degrees) in the y-direction.
aspect Specifies the aspect ratio which determines the field of angle
in the x-direction (horizontal). aspect = width/height.
near ,far Specify the near and far depth clipping planes.
DESCRIPTIONEZ_Perspective generates a perspective projection matrix and multiplies
the current top matrix by this matrix.
SEE ALSOEZ_Rotate(3), EZ_Translate(3), EZ_LookAt(3), EZ_Frustum(3), EZ_MultMa‐
trix(3), EZ_MatrixMode(3), EZ_Ortho(3)EZWGLEZ_Perspective(3)