Searched refs:prim_bounds (Results 1 – 2 of 2) sorted by relevance
67 BoundBox prim_bounds = get_prim_bounds(ref_ptr[i]); in BVHObjectSplit() local68 right_bounds.grow(prim_bounds); in BVHObjectSplit()76 BoundBox prim_bounds = get_prim_bounds(ref_ptr[i - 1]); in BVHObjectSplit() local77 left_bounds.grow(prim_bounds); in BVHObjectSplit()175 BoundBox prim_bounds = get_prim_bounds(ref); in BVHSpatialSplit() local177 float3 lastBinf = (prim_bounds.max - origin) * invBinSize; in BVHSpatialSplit()256 BoundBox prim_bounds = get_prim_bounds(refs[i]); in split() local257 if (prim_bounds.max[this->dim] <= this->pos) { in split()259 left_bounds.grow(prim_bounds); in split()262 else if (prim_bounds.min[this->dim] >= this->pos) { in split()[all …]
122 BBox3fa prim_bounds = empty; in createMortonCodeArray() local123 if (unlikely(!mesh->buildBounds(j,&prim_bounds))) continue; in createMortonCodeArray()124 bounds.extend(center2(prim_bounds)); in createMortonCodeArray()