};\r
\r
\r
-/*\r
-//! vertex index used by the Irrlicht engine.\r
-template <class T>\r
-struct SSpecificVertexIndex\r
-{\r
- T Index;\r
-\r
- //! default constructor\r
- SSpecificVertexIndex() {}\r
-\r
- //! constructor\r
- SSpecificVertexIndex(u32 _index) :Index(_index) {}\r
-\r
- bool operator==(const SSpecificVertexIndex& other) const\r
- {\r
- return (Index == other.Index);\r
- }\r
-\r
- bool operator!=(const SSpecificVertexIndex& other) const\r
- {\r
- return (Index != other.Index);\r
- }\r
-\r
- bool operator<(const SSpecificVertexIndex& other) const\r
- {\r
- return (Index < other.Index);\r
- }\r
-\r
- SSpecificVertexIndex operator+(const u32& other) const\r
- {\r
- return SSpecificVertexIndex(Index + other);\r
- }\r
-\r
- operator const u32() const\r
- {\r
- return (const u32)Index;\r
- }\r
-\r
- E_INDEX_TYPE getType() const\r
- {\r
- if (sizeof(T)==sizeof(u16))\r
- return video::EIT_16BIT;\r
- return video::EIT_32BIT;\r
- }\r
-\r
-};\r
-\r
-//typedef SSpecificVertexIndex<u16> SVertexIndex;\r
-\r
-typedef u32 SVertexIndex;\r
-*/\r
-\r
-\r
} // end namespace video\r
} // end namespace irr\r
\r