       # Offset layers in the opposite direction.
       layer.position.copy(@position).negate() for layer in layers
 
+      if @mesh.options.debug?()
+        lineSegments.position.copy(@position).negate() for lineSegments in @edgeLineSegments()
+
     # Update object children.
     @autorun (computation) =>
       # Clean up previous children.


      # Add new children.
      @add layer for layer in layers

      if @mesh.options.debug?()
        currentCluster = @mesh.options.currentCluster?()

          lineSegments = edge.getLineSegments @data.mesh.cameraAngles.get 0
          lineSegments.layers.set 2
          @add lineSegments

          lineSegments.position.copy(@position).negate()
          edgeLineSegments.push lineSegments

      @edgeLineSegments edgeLineSegments

      @mesh.options.sceneManager.addedSceneObjects()

    # Update visibility.
