------------------------------------------------------------------------------------------------
| 57 | |
| 58 | // ------------------------------------------------------------------------------------------------ |
| 59 | void SGSpatialSort::Add(const aiVector3D& vPosition, unsigned int index, |
| 60 | unsigned int smoothingGroup) |
| 61 | { |
| 62 | // store position by index and distance |
| 63 | float distance = vPosition * mPlaneNormal; |
| 64 | mPositions.emplace_back( index, vPosition, |
| 65 | distance, smoothingGroup); |
| 66 | } |
| 67 | // ------------------------------------------------------------------------------------------------ |
| 68 | void SGSpatialSort::Prepare() |
| 69 | { |
no test coverage detected