| 360 | } |
| 361 | |
| 362 | PrimInfoMB createPrimRefMBArray(mvector<PrimRefMB>& prims, const BBox1f& t0t1, const range<size_t>& r, size_t k, unsigned int geomID) const |
| 363 | { |
| 364 | PrimInfoMB pinfo(empty); |
| 365 | for (size_t j=r.begin(); j<r.end(); j++) |
| 366 | { |
| 367 | if (!valid(j, timeSegmentRange(t0t1))) continue; |
| 368 | const PrimRefMB prim(linearBounds(j,t0t1),this->numTimeSegments(),this->time_range,this->numTimeSegments(),geomID,unsigned(j)); |
| 369 | pinfo.add_primref(prim); |
| 370 | prims[k++] = prim; |
| 371 | } |
| 372 | return pinfo; |
| 373 | } |
| 374 | }; |
| 375 | } |
| 376 |
nothing calls this directly
no test coverage detected