]> git.lizzy.rs Git - irrlicht.git/blobdiff - include/SVertexIndex.h
Remove core::list and replace uses with std::list (#105)
[irrlicht.git] / include / SVertexIndex.h
index d6837dc22ec1303e65add78dd4e98b9e4a31db47..5ea41f0d839ba9054c7af11022a89c72733b5cbf 100644 (file)
@@ -19,59 +19,6 @@ enum E_INDEX_TYPE
 };\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