UFO: Alien Invasion
Loading...
Searching...
No Matches
dMD2Triangle_t Struct Reference

#include <qfiles.h>

Collaboration diagram for dMD2Triangle_t:
Collaboration graph

Data Fields

uint16_t index_verts [3]
uint16_t index_st [3]

Detailed Description

Definition at line 62 of file qfiles.h.

Field Documentation

◆ index_st

uint16_t dMD2Triangle_t::index_st[3]

these three shorts are indices into the array of texture coordinates

Definition at line 69 of file qfiles.h.

◆ index_verts

uint16_t dMD2Triangle_t::index_verts[3]

these three shorts are indices into the array of vertices in each frames. In other words, the number of triangles in a md2 file is fixed, and each triangle is always made of the same three indices into each frame's array of vertices. So, in each frame, the triangles themselves stay intact, their vertices are just moved around

Definition at line 63 of file qfiles.h.


The documentation for this struct was generated from the following file: