| 1 | // Copyright 2009-2021 Intel Corporation |
| 2 | // SPDX-License-Identifier: Apache-2.0 |
| 3 | |
| 4 | #include "accelset.h" |
| 5 | #include "scene.h" |
| 6 | |
| 7 | namespace embree |
| 8 | { |
| 9 | AccelSet::AccelSet (Device* device, Geometry::GType gtype, size_t numItems, size_t numTimeSteps) |
| 10 | : Geometry(device,gtype,(unsigned int)numItems,(unsigned int)numTimeSteps), boundsFunc(nullptr) {} |
| 11 | |
| 12 | AccelSet::IntersectorN::IntersectorN (ErrorFunc error) |
| 13 | : intersect((IntersectFuncN)error), occluded((OccludedFuncN)error), name(nullptr) {} |
| 14 | |
| 15 | AccelSet::IntersectorN::IntersectorN (IntersectFuncN intersect, OccludedFuncN occluded, const char* name) |
| 16 | : intersect(intersect), occluded(occluded), name(name) {} |
| 17 | } |
| 18 | |