The following polygon routines come in two flavors. One takes vertex coordinates in integer format (16 or 32 bit integers depending on memory model) and the other takes vertex coordinates in 16.16 fixed-point format. The fixed-point format version is always the fastest, and in fact the integer versions simply convert all the vertices to fixed points and call the fixed-point routine.
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com