vector< SLJoint * > SLVJoint
SLAnimSkeleton keeps track of a skeletons joints and animations.
Specialized SLNode that represents a single joint (or bone) in a skeleton.
void offsetMat(const SLMat4f &mat)
SLJoint(SLuint handle, SLAnimSkeleton *creator)
SLMat4f _offsetMat
matrix transforming this joint from bind pose to world pose
SLAnimSkeleton * _skeleton
the skeleton this joint belongs to
void calcMaxRadius(const SLVec3f &vec)
SLJoint * createChild(SLuint id)
const SLMat4f & offsetMat() const
SLuint _id
unique id inside its parent skeleton
SLfloat _radius
info for the mesh this skeleton is bound to (should be moved to a skeleton instance class later,...
SLNode represents a node in a hierarchical scene graph.
const SLstring & name() const