mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-02 00:00:26 +02:00
Remove unused locale-like code, utf8 functions and headers
This commit is contained in:
@ -19,59 +19,6 @@ enum E_INDEX_TYPE
|
||||
};
|
||||
|
||||
|
||||
/*
|
||||
//! vertex index used by the Irrlicht engine.
|
||||
template <class T>
|
||||
struct SSpecificVertexIndex
|
||||
{
|
||||
T Index;
|
||||
|
||||
//! default constructor
|
||||
SSpecificVertexIndex() {}
|
||||
|
||||
//! constructor
|
||||
SSpecificVertexIndex(u32 _index) :Index(_index) {}
|
||||
|
||||
bool operator==(const SSpecificVertexIndex& other) const
|
||||
{
|
||||
return (Index == other.Index);
|
||||
}
|
||||
|
||||
bool operator!=(const SSpecificVertexIndex& other) const
|
||||
{
|
||||
return (Index != other.Index);
|
||||
}
|
||||
|
||||
bool operator<(const SSpecificVertexIndex& other) const
|
||||
{
|
||||
return (Index < other.Index);
|
||||
}
|
||||
|
||||
SSpecificVertexIndex operator+(const u32& other) const
|
||||
{
|
||||
return SSpecificVertexIndex(Index + other);
|
||||
}
|
||||
|
||||
operator const u32() const
|
||||
{
|
||||
return (const u32)Index;
|
||||
}
|
||||
|
||||
E_INDEX_TYPE getType() const
|
||||
{
|
||||
if (sizeof(T)==sizeof(u16))
|
||||
return video::EIT_16BIT;
|
||||
return video::EIT_32BIT;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
//typedef SSpecificVertexIndex<u16> SVertexIndex;
|
||||
|
||||
typedef u32 SVertexIndex;
|
||||
*/
|
||||
|
||||
|
||||
} // end namespace video
|
||||
} // end namespace irr
|
||||
|
||||
|
Reference in New Issue
Block a user