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

FreeBSD Manual Pages

  
 
  

home | help
POLYTYPE_PTEX(3)		Allegro	manual		      POLYTYPE_PTEX(3)

NAME
       POLYTYPE_PTEX  -	 Polygon  rendering mode type Allegro game programming
       library.

SYNOPSIS
       #include	<allegro.h>

       #define POLYTYPE_PTEX

DESCRIPTION
       A perspective-correct texture mapped polygon. This uses the  `z'	 value
       from  the  vertex structure as well as the u/v coordinates, so textures
       are displayed correctly regardless of the angle they are	 viewed	 from.
       Because	it involves division calculations in the inner texture mapping
       loop, this mode is a lot	slower than POLYTYPE_ATEX, and it uses	float-
       ing point so it will be very slow on anything less than a Pentium (even
       with an FPU, a 486 can't	overlap	floating point division	with other in-
       teger operations	like the Pentium can).

SEE ALSO
       polygon3d(3), POLYTYPE_ATEX(3), ex3d(3)

Allegro				 version 4.4.2		      POLYTYPE_PTEX(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO

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

home | help