5#ifndef __I_ANIMATED_MESH_MD3_H_INCLUDED__
6#define __I_ANIMATED_MESH_MD3_H_INCLUDED__
216 s32 index = Container.linear_search ( search );
218 return &Container[index];
224 return Container.size();
229 s32 diff = (
s32) new_size - (
s32) Container.allocated_size();
233 for (
s32 i = 0; i < diff; ++i )
234 Container.push_back(e);
240 return Container[index];
245 return Container[index];
250 Container.push_back(other);
255 Container = copyMe.Container;
Base class of most objects of the Irrlicht Engine.
bool drop() const
Drops the object. Decrements the reference counter by one.
4x4 matrix. Mostly used as transformation matrix for 3d calculations.
Axis aligned bounding box in 3d dimensional space.
Quaternion class for representing rotations.
matrix4 getMatrix() const
Creates a matrix from this quaternion.
T X
X coordinate of the vector.
Interface for an animated mesh.
Interface for using some special functions of MD3 meshes.
virtual SMD3Mesh * getOriginalMesh()=0
get the original md3 mesh.
virtual void setInterpolationShift(u32 shift, u32 loopMode)=0
tune how many frames you want to render inbetween.
virtual SMD3QuaternionTagList * getTagList(s32 frame, s32 detailLevel, s32 startFrameLoop, s32 endFrameLoop)=0
get the tag list of the mesh.
struct irr::scene::SMD3Header PACK_STRUCT
EMD3_ANIMATION_TYPE
Animation list.
@ EMD3_ANIMATION_COUNT
Not an animation, but amount of animation types.
Everything in the Irrlicht Engine can be found in this namespace.
float f32
32 bit floating point variable.
unsigned int u32
32 bit unsigned variable.
signed short s16
16 bit signed variable.
unsigned char u8
8 bit unsigned variable.
char c8
8 bit character variable.
signed int s32
32 bit signed variable.
signed char s8
8 bit signed variable.
s32 fps
Frames per second.
s32 looping
Looping frames.
Holding Frame Data for a Mesh.
core::array< SMD3Vertex > Vertices
core::array< s32 > Indices
core::array< SMD3TexCoord > Tex
SMD3MeshHeader MeshHeader
Holding Frames Buffers and Tag Infos.
core::array< SMD3MeshBuffer * > Buffer
SMD3QuaternionTagList TagList
hold a tag info for connecting meshes
virtual ~SMD3QuaternionTag()
SMD3QuaternionTag(const core::stringc &name)
void setto(core::matrix4 &m)
SMD3QuaternionTag & operator=(const SMD3QuaternionTag ©Me)
bool operator==(const SMD3QuaternionTag &other) const
SMD3QuaternionTag(const core::vector3df &pos, const core::vector3df &angle)
core::quaternion rotation
SMD3QuaternionTag(const SMD3QuaternionTag ©Me)
holds a associative list of named quaternions
SMD3QuaternionTag * get(const core::stringc &name)
virtual ~SMD3QuaternionTagList()
const SMD3QuaternionTag & operator[](u32 index) const
SMD3QuaternionTag & operator[](u32 index)
SMD3QuaternionTagList & operator=(const SMD3QuaternionTagList ©Me)
void set_used(u32 new_size)
SMD3QuaternionTagList(const SMD3QuaternionTagList ©Me)
void push_back(const SMD3QuaternionTag &other)