| 321 | } |
| 322 | |
| 323 | PrimInfoMB createPrimRefMBArray(mvector<PrimRefMB>& prims, |
| 324 | const BBox1f& t0t1, |
| 325 | const range<size_t>& r, |
| 326 | size_t k, |
| 327 | unsigned int geomID) const |
| 328 | { |
| 329 | PrimInfoMB pinfo(empty); |
| 330 | for (size_t j = r.begin(); j < r.end(); j++) { |
| 331 | if (!valid(j, timeSegmentRange(t0t1))) |
| 332 | continue; |
| 333 | const PrimRefMB prim(linearBounds(j, t0t1), this->numTimeSegments(), this->time_range, this->numTimeSegments(), geomID, unsigned(j)); |
| 334 | pinfo.add_primref(prim); |
| 335 | prims[k++] = prim; |
| 336 | } |
| 337 | return pinfo; |
| 338 | } |
| 339 | |
| 340 | BBox3fa vbounds(size_t i) const |
| 341 | { |
no test coverage detected