EZ_LookAt(3) EZWGL Functions EZ_LookAt(3)NAMEEZ_LookAt - multiply the current matrix by a viewing matrix
SYNOPSIS
#include <EZ.h>
void EZ_LookAt(float vx, float vy, float vz,
float px, float py, float pz)
float ux, float uy, float uz)
ARGUMENTS
vx,vy,vz Specify the location of viewpoint.
px,py,pz Specify the location of the reference point.
ux,uy,uz Specify the view up vector.
DESCRIPTIONEZ_LookAt defines the line of sight and a view up vector. The viewpoint
is at [vx,vy,vz], looking at the reference point [px,py,pz], with a
view up vector [ux,uy, uz].
EZ_LookAt generates the corresponding transformation matrix and multi‐
ply the top matrix of the current matrix stack by this matrix.
SEE ALSOEZ_Rotate(3), EZ_Translate(3), EZ_Ortho(3), EZ_Frustum(3), EZ_MultMa‐
trix(3), EZ_MatrixMode(3), EZ_Perspective(3)EZWGLEZ_LookAt(3)