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

Method DefineSceneObject

src/slg/scene/sceneobjectdefs.cpp:32–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30//------------------------------------------------------------------------------
31
32void SceneObjectDefinitions::DefineSceneObject(SceneObject *newObj) {
33 const SceneObject *oldObj = static_cast<const SceneObject *>(objs.DefineObj(newObj));
34
35 // Delete the old object definition
36 delete oldObj;
37}
38
39void SceneObjectDefinitions::DefineIntersectableLights(LightSourceDefinitions &lightDefs,
40 const Material *mat) const {

Callers 2

BOOST_FOREACHFunction · 0.80
DuplicateObjectMethod · 0.80

Calls 1

DefineObjMethod · 0.80

Tested by

no test coverage detected