void NullModel::testSelect(Selector& selector, SelectionTest& test, const Matrix4& localToWorld) { test.BeginMesh(localToWorld); SelectionIntersection best; aabb_testselect(_aabbLocal, test, best); if(best.valid()) { selector.addIntersection(best); } }
void MiscParticle::testSelect (Selector& selector, SelectionTest& test, const Matrix4& localToWorld) { test.BeginMesh(localToWorld); SelectionIntersection best; aabb_testselect(m_aabb_local, test, best); if (best.valid()) { selector.addIntersection(best); } }