V-Gears 0
Free Final Fantasy VII engine.
DrawSkeleton.h File Reference
#include <Ogre.h>
Include dependency graph for DrawSkeleton.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Bone
 A skeleton bone. More...
 

Typedefs

typedef std::vector< BoneSkeleton
 

Functions

void DrawSkeleton (const Skeleton &skeleton, const Ogre::MeshPtr &mesh)
 Draws a skeleton. More...
 
void DrawBone (const Skeleton &skeleton, int parent_index, Ogre::RGBA *colours)
 Draws a bone. More...
 

Typedef Documentation

◆ Skeleton

typedef std::vector<Bone> Skeleton

Function Documentation

◆ DrawBone()

void DrawBone ( const Skeleton skeleton,
int  parent_index,
Ogre::RGBA *  colours 
)

Draws a bone.

Parameters
[in]skeletonSkeleton the bone belongs to.
[in]parent_indexThe parent bone ID.
[in]coloursColour for the bone.

◆ DrawSkeleton()

void DrawSkeleton ( const Skeleton skeleton,
const Ogre::MeshPtr &  mesh 
)

Draws a skeleton.

Parameters
[in]skeletonThe skeleton to draw.
[in]meshParent mesh for the skeleton.