Wrath of Zeus
Made by Torchlight Games for CSE 125 SP24
Loading...
Searching...
No Matches
Public Member Functions
Bone Class Reference

#include <bone.hpp>

Public Member Functions

 Bone (const std::string &name, int ID, const aiNodeAnim *channel)
 
void update (float animationTime)
 
glm::mat4 getLocalTransform ()
 
std::string getBoneName () const
 
int getBoneID ()
 
int getPositionIndex (float animationTime)
 
int getRotationIndex (float animationTime)
 
int getScaleIndex (float animationTime)
 

Constructor & Destructor Documentation

◆ Bone()

Bone::Bone ( const std::string &  name,
int  ID,
const aiNodeAnim *  channel 
)

Member Function Documentation

◆ getBoneID()

int Bone::getBoneID ( )
inline

◆ getBoneName()

std::string Bone::getBoneName ( ) const
inline

◆ getLocalTransform()

glm::mat4 Bone::getLocalTransform ( )
inline

◆ getPositionIndex()

int Bone::getPositionIndex ( float  animationTime)

◆ getRotationIndex()

int Bone::getRotationIndex ( float  animationTime)

◆ getScaleIndex()

int Bone::getScaleIndex ( float  animationTime)

◆ update()

void Bone::update ( float  animationTime)

The documentation for this class was generated from the following files: