Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
EZ_LookAt(3)			EZWGL Functions			  EZ_LookAt(3)

NAME
       EZ_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.

DESCRIPTION
       EZ_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 ALSO
       EZ_Rotate(3), EZ_Translate(3), EZ_Ortho(3),  EZ_Frustum(3),  EZ_MultMa-
       trix(3),	EZ_MatrixMode(3), EZ_Perspective(3)

EZWGL								  EZ_LookAt(3)

NAME | SYNOPSIS | ARGUMENTS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=EZ_LookAt&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help