5#ifndef __S_VERTEX_INDEX_H_INCLUDED__
6#define __S_VERTEX_INDEX_H_INCLUDED__
25struct SSpecificVertexIndex
30 SSpecificVertexIndex() {}
33 SSpecificVertexIndex(u32 _index) :Index(_index) {}
35 bool operator==(const SSpecificVertexIndex& other) const
37 return (Index == other.Index);
40 bool operator!=(const SSpecificVertexIndex& other) const
42 return (Index != other.Index);
45 bool operator<(const SSpecificVertexIndex& other) const
47 return (Index < other.Index);
50 SSpecificVertexIndex operator+(const u32& other) const
52 return SSpecificVertexIndex(Index + other);
55 operator const u32() const
57 return (const u32)Index;
60 E_INDEX_TYPE getType() const
62 if (sizeof(T)==sizeof(u16))
63 return video::EIT_16BIT;
64 return video::EIT_32BIT;
69//typedef SSpecificVertexIndex<u16> SVertexIndex;
71typedef u32 SVertexIndex;
Everything in the Irrlicht Engine can be found in this namespace.