Public Member Functions | Public Attributes

quake::face_t Struct Reference
[Quake BSP Parsing Library]

a polygon face in the bsp map More...

#include <bsp.h>

Inheritance diagram for quake::face_t:
Inheritance graph
[legend]
Collaboration diagram for quake::face_t:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ~face_t (void) throw ()
eLumpType getType (void) const throw ()
 what sort of lump object is this really? Can use this information to perform a dynamic cast to the correct leaf class.
virtual int getIndex (void) const throw ()
 returns the index of this object as stored in its lump

Public Attributes

int32_t texture
 index to texture path object
int32_t effect
 index to effect (or -1)
int32_t type
 face type (eFaceType, above)
int32_t vertex
 index of first vertex
int32_t nVertices
 number of vertices
int32_t meshvert
 index of first mesh vertex
int32_t nMeshverts
 number of mesh vertices
int32_t lmIndex
 light map index
int32_t lmStart [2]
 corner of this face's lightmap
int32_t lmSize [2]
 size of this face's lightmap
point3d_t origin
 origin of lightmap
point3d_t lmVecs [2]
 lightmap s and t vectors
point3d_t normal
 surface normal
int32_t size [2]
 patch dimensions
int index

Detailed Description

a polygon face in the bsp map

Definition at line 133 of file bsp.h.


Constructor & Destructor Documentation

quake::face_t::~face_t ( void   )  throw ()

Definition at line 101 of file bsp.cpp.


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