Logo Search packages:      
Sourcecode: 3depict version File versions  Download package

void Scene::addLight ( const Light *  light  ) 

Add a light.

Pointer must be set to a valid (allocated) object. !Scene will delete upon call to clearAll, clearLights or !upon destruction

Definition at line 351 of file scene.cpp.

References lights.

{
      lights.push_back(light);
}


Generated by  Doxygen 1.6.0   Back to index