| 30 | //------------------------------------------------------------------------------ |
| 31 | |
| 32 | void 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 | |
| 39 | void SceneObjectDefinitions::DefineIntersectableLights(LightSourceDefinitions &lightDefs, |
| 40 | const Material *mat) const { |
no test coverage detected