Im trying to do a CMeshManipulator::recalculateNormals on a the buffer. Which means this function is called:
Code: Select all
void CMeshManipulator::recalculateNormals(IMeshBuffer* buffer, bool smooth, bool angleWeighted) const
{
if (!buffer)
return;
const u32 vtxcnt = buffer->getVertexCount();
const u32 idxcnt = buffer->getIndexCount();
const u16* idx = buffer->getIndices();
Code: Select all
const u16* idx = buffer->getIndices();
Code: Select all
virtual const u16* getIndices() const
{
return (u16*)getIndexBuffer().getData();
}
Im using 1.7.3