OpenRaider
0.1.4-dev
Open Source Tomb Raider Game Engine implementation
|
#include <SkeletalModel.h>
Public Member Functions | |
SkeletalModel (int i) | |
~SkeletalModel () | |
void | display (glm::mat4 MVP, int aframe, int bframe, ShaderTexture *shaderTexture=nullptr) |
int | getID () |
unsigned long | size () |
AnimationFrame & | get (unsigned long i) |
void | add (AnimationFrame *f) |
Private Attributes | |
int | id |
std::vector< AnimationFrame * > | animation |
Definition at line 61 of file SkeletalModel.h.
|
inline |
Definition at line 63 of file SkeletalModel.h.
SkeletalModel::~SkeletalModel | ( | ) |
Definition at line 92 of file SkeletalModel.cpp.
void SkeletalModel::display | ( | glm::mat4 | MVP, |
int | aframe, | ||
int | bframe, | ||
ShaderTexture * | shaderTexture = nullptr |
||
) |
Definition at line 103 of file SkeletalModel.cpp.
|
inline |
Definition at line 67 of file SkeletalModel.h.
unsigned long SkeletalModel::size | ( | ) |
Definition at line 171 of file SkeletalModel.cpp.
AnimationFrame & SkeletalModel::get | ( | unsigned long | i | ) |
Definition at line 175 of file SkeletalModel.cpp.
void SkeletalModel::add | ( | AnimationFrame * | f | ) |
Definition at line 180 of file SkeletalModel.cpp.
|
private |
Definition at line 74 of file SkeletalModel.h.
|
private |
Definition at line 75 of file SkeletalModel.h.