AboutDownloadsDocumentsForumsSource CodeIssues
Date:
2007-11-10 20:30
Priority:
3
State:
Open
Submitted by:
Devid Oneli (devo)
Assigned to:
Nobody (None)
Summary:
KdTree::getNeighbourPosition() BUG!

Detailed description
vector3f KdTree::getNeighbourPosition(const unsigned int neighbourIndex) {
return m_points[m_neighbours[neighbourIndex].index].pos;
}

This code does not work becouse m_points is sorted but index from m_neighbours are for unsorted array !!!!

Add A Comment: Notepad

No Comments Have Been Posted

No Changes Have Been Made to This Item

Feedback