     console.log "found minimum separation axis of #{minAxis}"
     return [] unless minAxis
 
-    e1 = @bestEdge minAxis
-    e2 = other.bestEdge Vec.invert minAxis # A->B always
+    @debug.myBest = e1 = @bestEdge minAxis
+    @debug.theirBest = e2 = other.bestEdge Vec.invert minAxis # A->B always
 
     # Now, clip the edges. Do a series of line/plane clips to get the contact
     # manifold. Identify the reference edge and incident edge. Reference is most

  perpendicularAxes: ->
    for pair in Utils.pairs @points()
      Vec.perpendicular Vec.sub pair[1], pair[0]

class Rectangle extends Polygon
  constructor: (sizeX, sizeY, position, angle, @color) ->

    minAxis    = null
    minOverlap = Infinity

    for axis in @perpendicularAxesFacing(other)
      us = @projectionInterval axis
      them = other.projectionInterval axis
      overlap = Utils.intervalOverlap us, them
