refs += FilterWindingIntoTree_r( w, ds, tree->headnode );
}
- /* use point filtering as well */
- for ( i = 0; i < ds->numVerts; i++ )
- refs += FilterPointIntoTree_r( ds->verts[ i ].xyz, ds, tree->headnode );
-
return refs;
}
VectorAdd( instance->xyz, ds->verts[ ds->indexes[ i + 2 ] ].xyz, w->p[ 2 ] );
refs += FilterWindingIntoTree_r( w, ds, tree->headnode );
}
-
- /* use point filtering as well */
- for ( i = 0; i < ( ds->numVerts - ds->numFoliageInstances ); i++ )
- {
- VectorAdd( instance->xyz, ds->verts[ i ].xyz, xyz );
- refs += FilterPointIntoTree_r( xyz, ds, tree->headnode );
- }
}
return refs;