UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
dMD2Triangle_t Struct Reference

#include <qfiles.h>

Data Fields

uint16_t index_verts [3]
 
uint16_t index_st [3]
 

Detailed Description

Definition at line 62 of file qfiles.h.

Field Documentation

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.

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: