   origin = new THREE.Vector3( 0, 0, 0 )
   normalMatrix = new THREE.Matrix3()
   ROLLOVERED = null
-  
+  voxelBase = new THREE.Object3D()
+  voxelData = {};
   
   init = -> 
     container = document.getElementById('container')

    scene.add( MYTHREE.getDirectionalLight() )
    axis = new THREE.AxisHelper(10);
    scene.add(axis);
    renderer = new MYTHREE.getRenderer()
    container.appendChild(renderer.domElement); #<canvas>
    $('canvas').attr('id', 'canvas_id')

      if intersect.face?
        return intersect

  resetVoxelAll = ->
    scene.remove(voxelBase)
    voxelBase = new THREE.Object3D()
    scene.add voxelBase

  redrawVoxelAll = ->
    for key of voxelData
      color = voxelData[key]
      pos = JSON.parse(key)
      #voxel
      voxel = MYTHREE.createCube(pos, color)
      voxelBase.add voxel

  onDocumentMouseDown = (event) ->
    event.preventDefault()
    intersects = raycaster.intersectObjects(scene.children)
