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

#include <skelmodel.hpp>

Public Member Functions

 blendcombo ()
 
bool operator== (const blendcombo &c) const
 
int size () const
 
int addweight (int sorted, float weight, int bone)
 
void finalize (int sorted)
 
void serialize (vvertw &v)
 

Static Public Member Functions

static bool sortcmp (const blendcombo &x, const blendcombo &y)
 

Public Attributes

int uses
 
int interpindex
 
float weights [4]
 
uchar bones [4]
 
uchar interpbones [4]
 

Constructor & Destructor Documentation

skelmodel::blendcombo::blendcombo ( )
inline

Member Function Documentation

int skelmodel::blendcombo::addweight ( int  sorted,
float  weight,
int  bone 
)
inline
void skelmodel::blendcombo::finalize ( int  sorted)
inline
bool skelmodel::blendcombo::operator== ( const blendcombo c) const
inline

References bones, loopk, and weights.

void skelmodel::blendcombo::serialize ( vvertw v)
inline
int skelmodel::blendcombo::size ( ) const
inline
static bool skelmodel::blendcombo::sortcmp ( const blendcombo x,
const blendcombo y 
)
inlinestatic

Member Data Documentation

uchar skelmodel::blendcombo::bones[4]
uchar skelmodel::blendcombo::interpbones[4]
int skelmodel::blendcombo::interpindex
int skelmodel::blendcombo::uses
float skelmodel::blendcombo::weights[4]

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