NJS_TEXTUREH_VTX - shaddatic/sa2b-render-fix GitHub Wiki

Definition

typedef struct
{
    Float x, y, z;
    Float u, v;
    Uint32 col;
    Uint32 off;
}
NJS_TEXTUREH_VTX;

Members

Float x, y, z

 Vertex position

Float u, v

 Texture coordinates

Uint32 col

 Vertex color, as 0xAA'RR'GG'BB

Uint32 off

 Vertex highlight/offset color, as 0xXX'RR'GG'BB

Description

A textured polygon vertex with highlight color.

Usage