       x: localVector.x * coef[0]
       y: localVector.y * coef[1]
 
-    #mB1.x *= constrain.x
-    #mB1.y *= constrain.y
-
     #translated in the base of the screen, it gives us
     mB0 =
       x: @_state.angle.cos * mB1.x - @_state.angle.sin * mB1.y

# the special handler responsible for the rotation
class RotateHandleView extends Backbone.View
  className: 'handleRotation'
  events:
    'mousedown' : 'start'
  initialize: ->
    #@listenTo $el, 'mousedown', =>

  start: (event)->
    event.preventDefault()

    @$el.css(box)

    angleDeg = @model.get 'rotate'
    @rCont.$el.css transform: "rotate(#{angleDeg}deg)"
    @


