NJS_TEXTURE_VTX - shaddatic/sa2b-render-fix GitHub Wiki
Definition
typedef struct
{
Float x, y, z;
Float u, v;
Uint32 col;
}
NJS_TEXTURE_VTX;
Members
Float x, y, z
Vertex position
Float u, v
Texture coordinates
Uint32 col
Vertex color, as 0xAA'RR'GG'BB
Description
A textured polygon vertex.
Usage
- rjDrawTexture() Draw a textured polygon
- rjDrawTextureEx() Draw a textured polygon
- rjDrawTexture3DEx() Draw a textured 3D polygon