     @type Number
     ###
     direction: ->
-      Math.atan2(this.y, this.x)
+      Math.atan2(@y, @x)
 
     ###*
     Calculate the dot product of this point and another point (Vector).

    @type Point
    ###
    floor: ->
      this.copy().floor$()

    floor$: ->
      this.x = this.x.floor()
      this.y = this.y.floor()

      this


    @type Boolean
    ###
    equal: (other) ->
      @x == other.x && @y == other.y

    ###*
    Computed the length of this point as though it were a vector from (0,0) to (x,y)
