Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
BIH::mesh Struct Reference

#include <bih.hpp>

Public Member Functions

 mesh ()
 
vec getpos (int i) const
 
vec2 gettc (int i) const
 

Public Attributes

matrix4x3 xform
 
matrix4x3 invxform
 
matrix3 xformnorm
 
matrix3 invxformnorm
 
float scale
 
float invscale
 
nodenodes
 
int numnodes
 
const tritris
 
const tribbtribbs
 
int numtris
 
const ucharpos
 
const uchartc
 
int posstride
 
int tcstride
 
Texturetex
 
int flags
 
vec bbmin
 
vec bbmax
 

Constructor & Destructor Documentation

BIH::mesh::mesh ( )
inline

Member Function Documentation

vec BIH::mesh::getpos ( int  i) const
inline

References pos, and posstride.

Referenced by BIH::BIH(), and BIH::triintersect().

vec2 BIH::mesh::gettc ( int  i) const
inline

References tc, and tcstride.

Referenced by BIH::triintersect().

Member Data Documentation

vec BIH::mesh::bbmax

Referenced by BIH::BIH(), and BIH::traverse().

vec BIH::mesh::bbmin

Referenced by BIH::BIH(), and BIH::traverse().

int BIH::mesh::flags
float BIH::mesh::invscale

Referenced by BIH::BIH().

matrix4x3 BIH::mesh::invxform

Referenced by BIH::BIH(), and BIH::traverse().

matrix3 BIH::mesh::invxformnorm

Referenced by BIH::BIH(), and BIH::traverse().

node* BIH::mesh::nodes

Referenced by BIH::BIH(), BIH::build(), and BIH::traverse().

int BIH::mesh::numnodes

Referenced by BIH::BIH(), and BIH::build().

int BIH::mesh::numtris
const uchar* BIH::mesh::pos
int BIH::mesh::posstride
float BIH::mesh::scale

Referenced by BIH::BIH(), and BIH::triintersect().

const uchar * BIH::mesh::tc
int BIH::mesh::tcstride
Texture* BIH::mesh::tex
const tribb* BIH::mesh::tribbs

Referenced by BIH::BIH(), and BIH::build().

const tri* BIH::mesh::tris
matrix4x3 BIH::mesh::xform
matrix3 BIH::mesh::xformnorm

Referenced by BIH::BIH().


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