   ###
   removeLight: (light) ->
     @lights.splice @lights.indexOf(light)
+    @fireEvent 'lightRemoved'
     light
 
   ###

      
  @define 'ambientColor',
    get: -> @_ambientColor
    set: (c) -> @_ambientColor = Jax.Color.parse c
    
  @getter 'objects', ->
    console.log """The getter `objects` is deprecated; please use `getObjects()` instead.

    @invalidateShadowMaps.apply obj
    obj.removeEventListener 'transformed', @invalidateShadowMaps
    obj.removeEventListener 'transformed', @updateOctree
    if node = @octree.find(obj)
      node.remove obj
      @fireEvent 'objectRemovedFromOctree'
    @fireEvent 'objectRemoved'
    obj
    
  pickDataBuffers = {}
