Functions |
|
void | RwIm2DCameraVertexSetU (RwIm2DVertex *devvert, RwCameraVertex *camvert, RwReal u, RwReal reciprocalZ) |
void | RwIm2DCameraVertexSetV (RwIm2DVertex *devvert, RwCameraVertex *camvert, RwReal v, RwReal reciprocalZ) |
These two macros are used to set the RwCameraVertex texture coordinates together with those of an RwIm2DVertex.
As both vertex types are frequently worked on together, using these macros can save some typing. They are defined as follows:
#define RwIm2DCameraVertexSetU(devvert, camvert, camu, recipz) \ MACRO_START \ { \ RwCameraVertexSetU(camvert, camu); \ RwIm2DVertexSetU(devvert, camu, recipz); \ } \ MACRO_STOP #define RwIm2DCameraVertexSetV(devvert, camvert, camu, recipz) \ MACRO_START \ { \ RwCameraVertexSetV(camvert, camu); \ RwIm2DVertexSetV(devvert, camu, recipz); \ } \ MACRO_STOP
|
RwIm2DCameraVertexSetU is used to define the texture u-coordinate of the specified device and corresponding camera vertices.
|
|
RwIm2DCameraVertexSetV is used to define the texture v-coordinate of the specified device and corresponding camera vertices.
|
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |