Class BoneAnimation

Class Documentation

class BoneAnimation

Stores the animation keyframes for a bone.

Public Functions

BoneAnimation()
BoneAnimation(const BoneAnimation&)
~BoneAnimation()
void addTranslationKeyframe(TranslationKeyframe &keyframe)
void addRotationKeyframe(RotationKeyframe &keyframe)
void addScalingKeyframe(ScalingKeyframe &keyframe)
Matrix interpolate(float time)

Lineary interpolates the two nearest keyframes to the current time.