#include <model.h>
Public Member Functions | |
void | readFromStream (ArchiveReadStream *stream) |
const Common::Array< VertNode * > & | getVertices () const |
const Common::Array< Face * > & | getFaces () const |
const Common::Array< Material * > & | getMaterials () const |
const Common::Array< BoneNode * > & | getBones () const |
bool | intersectRay (const Math::Ray &ray) const |
void | updateBoundingBox () |
Math::AABB | getBoundingBox () const |
A 3D Model
void Stark::Model::readFromStream | ( | ArchiveReadStream * | stream | ) |
Try and initialise object from the specified stream
bool Stark::Model::intersectRay | ( | const Math::Ray & | ray | ) | const |
Perform a collision test with a ray
void Stark::Model::updateBoundingBox | ( | ) |
Update the model bounding box with the current animation state
Math::AABB Stark::Model::getBoundingBox | ( | ) | const |
Retrieve the model space bounding box for the current animation state