Well it should be changed probably to: bool IMeshBuffer::append(const IMeshBuffer* const other); //in future
However the main problem is that this method does really nothing - someone frgot to uncomment it or to remove it or to fix it whatever..
Code: Select all
virtual void append(const IMeshBuffer* const other)
{
if ( this==other )
return;
if (other->getVertexType () != video::EVT_STANDARD && getVertexType () != other->getVertexType ())
{
return;
}
append(other->getVertices(),other->getVertexCount(),other->getIndices(),other->getIndexCount());
}