void FastMapCel (CCB *ccb,Point *quad)
The quad argument points to an array of four-point structures. In the normal configuration of the quad, the first entry refers to the top-left corner of the imagery, the second entry refers to top-right, the third to bottom-right, and the fourth to bottom-left. Those corners of the cel imagery map to those four entries in the quad, no matter what values are given to the quad entries.
This call requires that the CCB structures width and height fields are initialized by FastMapCelInit()
.
MapCel()
, and cannot be called interchangeably. FastMapCel() operates less precisely than the MapCel()
, and produces slightly different output.
FastMapCelf16
, FastMapCelInit(), MapCel()