.\" Generated by the Allegro makedoc utility .TH POLYTYPE_PTEX 3alleg4 "version 4.4.2" "Allegro" "Allegro manual" .SH NAME POLYTYPE_PTEX \- Polygon rendering mode type Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B #define POLYTYPE_PTEX .SH 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 floating 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 integer operations like the Pentium can). .SH SEE ALSO .BR polygon3d (3alleg4), .BR POLYTYPE_ATEX (3alleg4), .BR ex3d (3alleg4)