Bubba-3D
0.9.0
Awesome game engine!
|
#include <Mesh.h>
Public Member Functions | |
void | loadMesh (const std::string &fileName) |
std::vector< Triangle * > | getTriangles () |
AABB * | getAABB () |
Sphere | getSphere () |
std::vector< Chunk > * | getChunks () |
std::vector< Material > * | getMaterials () |
bool | hasAnimations () |
std::vector< chag::float4x4 > | getBoneTransforms (float totalElapsedTimeInSeconds) |
A class for containing all triangle and material of a mesh.
AABB * Mesh::getAABB | ( | ) |
std::vector< float4x4 > Mesh::getBoneTransforms | ( | float | totalElapsedTimeInSeconds | ) |
Calculates the transform to be applied to each bone at the current time.
totalElapsedTimeInSeconds | The time since the application was started |
Sphere Mesh::getSphere | ( | ) |
std::vector< Triangle * > Mesh::getTriangles | ( | ) |