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

FreeBSD Manual Pages

  
 
  

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

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

SYNOPSIS
       #include	<allegro.h>

       #define POLYTYPE_ATEX

DESCRIPTION
       An affine texture mapped	polygon. This stretches	the texture across the
       polygon	with  a	 simple	2d linear interpolation, which is fast but not
       mathematically correct. It can look OK if the polygon is	 fairly	 small
       or  flat-on to the camera, but because it doesn't deal with perspective
       foreshortening, it can produce strange warping artifacts. To  see  what
       this  means,  run  Allegro's  test  program and see what	happens	to the
       polygon3d() test	when you zoom in very close to the cube.

SEE ALSO
       polygon3d(3), ex3d(3)

Allegro				 version 4.4.2		      POLYTYPE_ATEX(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_ATEX&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help