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.
|
© 1993-2004 Criterion Software Limited. All rights reserved. Built Thu Feb 12 13:46:53 2004.
Send Feedback