| 2646 | } |
| 2647 | |
| 2648 | void Scene::updateCustomPrimitive(uint32_t index, const AABB& aabb) |
| 2649 | { |
| 2650 | FALCOR_CHECK(index < getCustomPrimitiveCount(), "'index' ({}) is out of range.", index); |
| 2651 | |
| 2652 | if (mCustomPrimitiveAABBs[index] != aabb) |
| 2653 | { |
| 2654 | mCustomPrimitiveAABBs[index] = aabb; |
| 2655 | mCustomPrimitivesMoved = true; |
| 2656 | } |
| 2657 | } |
| 2658 | |
| 2659 | ref<GridVolume> Scene::getGridVolumeByName(const std::string& name) const |
| 2660 | { |