MCPcopy Create free account
hub / github.com/LuxCoreRender/LuxCore / GetBBox

Method GetBBox

src/luxcore/luxcoreimpl.cpp:411–421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

409}
410
411void SceneImpl::GetBBox(float min[3], float max[3]) const {
412 const BBox &worldBBox = scene->dataSet->GetBBox();
413
414 min[0] = worldBBox.pMin.x;
415 min[1] = worldBBox.pMin.y;
416 min[2] = worldBBox.pMin.z;
417
418 max[0] = worldBBox.pMax.x;
419 max[1] = worldBBox.pMax.y;
420 max[2] = worldBBox.pMax.z;
421}
422
423const Camera &SceneImpl::GetCamera() const {
424 return *camera;

Callers 5

UpdateMoveStepMethod · 0.45
PreprocessMethod · 0.45
AllocOctreeMethod · 0.45
AllocOctreeMethod · 0.45
AllocOctreeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected