| 323 | } |
| 324 | |
| 325 | PrimInfo createPrimRefArray(PrimRef* prims, const range<size_t>& r, size_t k, unsigned int geomID) const |
| 326 | { |
| 327 | PrimInfo pinfo(empty); |
| 328 | for (size_t j = r.begin(); j < r.end(); j++) { |
| 329 | BBox3fa bounds = empty; |
| 330 | if (!buildBounds(j, &bounds) || !valid(j)) |
| 331 | continue; |
| 332 | const PrimRef prim(bounds, geomID, unsigned(j)); |
| 333 | pinfo.add_center2(prim); |
| 334 | prims[k++] = prim; |
| 335 | } |
| 336 | return pinfo; |
| 337 | } |
| 338 | |
| 339 | PrimInfo createPrimRefArrayMB(mvector<PrimRef>& prims, size_t itime, const range<size_t>& r, size_t k, unsigned int geomID) const |
| 340 | { |
nothing calls this directly
no test coverage detected