Assimp  v3.1.1 (June 2014)
Assimp::MD3 Namespace Reference

Classes

struct  Frame
 Data structure for the frame header. More...
 
struct  Header
 Data structure for the MD3 main header. More...
 
struct  Shader
 Data structure for a shader defined in there. More...
 
struct  Surface
 Data structure for the surface header. More...
 
struct  Tag
 Data structure for the tag header. More...
 
struct  TexCoord
 Data structure for an UV coord. More...
 
struct  Triangle
 Data structure for a triangle. More...
 
struct  Vertex
 Data structure for a vertex. More...
 

Functions

void LatLngNormalToVec3 (uint16_t p_iNormal, float *p_afOut)
 Unpack a Q3 16 bit vector to its full float3 representation. More...
 
void Vec3NormalToLatLng (const aiVector3D &p_vIn, uint16_t &p_iOut)
 Pack a Q3 normal into 16bit latitute/longitude representation. More...
 

Variables

struct Assimp::MD3::Header PACK_STRUCT
 

Function Documentation

void Assimp::MD3::LatLngNormalToVec3 ( uint16_t  p_iNormal,
float *  p_afOut 
)
inline

Unpack a Q3 16 bit vector to its full float3 representation.

Parameters
p_iNormalInput normal vector in latitude/longitude form
p_afOutPointer to an array of three floats to receive the result
Note
This has been taken from q3 source (misc_model.c)
void Assimp::MD3::Vec3NormalToLatLng ( const aiVector3D p_vIn,
uint16_t p_iOut 
)
inline

Pack a Q3 normal into 16bit latitute/longitude representation.

Parameters
p_vInInput vector
p_iOutOutput normal
Note
This has been taken from q3 source (mathlib.c)

Variable Documentation

struct Assimp::MD3::Vertex Assimp::MD3::PACK_STRUCT