OpenRaider  0.1.4-dev
Open Source Tomb Raider Game Engine implementation
Public Member Functions | Private Attributes | List of all members
SkeletalModel Class Reference

#include <SkeletalModel.h>

Collaboration diagram for SkeletalModel:
[legend]

Public Member Functions

 SkeletalModel (int i)
 
 ~SkeletalModel ()
 
void display (glm::mat4 MVP, int aframe, int bframe, ShaderTexture *shaderTexture=nullptr)
 
int getID ()
 
unsigned long size ()
 
AnimationFrameget (unsigned long i)
 
void add (AnimationFrame *f)
 

Private Attributes

int id
 
std::vector< AnimationFrame * > animation
 

Detailed Description

Definition at line 61 of file SkeletalModel.h.

Constructor & Destructor Documentation

SkeletalModel::SkeletalModel ( int  i)
inline

Definition at line 63 of file SkeletalModel.h.

SkeletalModel::~SkeletalModel ( )

Definition at line 92 of file SkeletalModel.cpp.

Member Function Documentation

void SkeletalModel::display ( glm::mat4  MVP,
int  aframe,
int  bframe,
ShaderTexture shaderTexture = nullptr 
)

Definition at line 103 of file SkeletalModel.cpp.

int SkeletalModel::getID ( )
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.

Member Data Documentation

int SkeletalModel::id
private

Definition at line 74 of file SkeletalModel.h.

std::vector<AnimationFrame*> SkeletalModel::animation
private

Definition at line 75 of file SkeletalModel.h.


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