   draw : ->
     #FIXME: this is dirty
     cam.hasChanged = true
-    cam2d.hasChanged = true
+    #cam2d.hasChanged = true
 
   setMatrix : (matrix) ->
     cam.setMatrix(matrix)

    # calculate which pixel are visible on the trianglesplane
    # after moving around.
    cam = new Flycam CAM_DISTANCE
    cam2d = new Flycam2d CAM_DISTANCE

    # FPS stats
    stats = new Stats()

    # ATTENTION: this limits the FPS to 30 FPS (depending on the keypress update frequence)
    if cam.hasChanged is false
      return
    #if cam2d.hasChanged is false
    #  return

    @updateTrianglesplane()

