             Math.sin(radians) * len);  // == len * (sin(theta)*x + cos(theta)*y)
     }
 
-    /** 
-     * Constructs a Vector2 from the given values. 
+    /**
+     * Constructs a Vector2 from the given values.
      */
     public function Vector2 (x :Number = 0, y :Number = 0)
     {
         this.x = x;
         this.y = y;
     }
-    
-    /** 
-     * Sets the vector's components to the given values. 
+
+    /**
+     * Sets the vector's components to the given values.
      */
     public function set (x :Number, y :Number) :void
     {

        var oldX :Number = x;
        x = (cosTheta * oldX) - (sinTheta * y);
        y = (sinTheta * oldX) + (cosTheta * y);
        
        return this;
    }

    /** 
     * Returns a rotated copy of this vector.
     */
    public function rotate (radians :Number) :Vector2
    {
        return this.clone().rotateLocal(radians);
    }
    
    /** 
     * Normalizes the vector in place and returns its original length. 
     */
    public function normalizeLocalAndGetLength () :Number
    {
        var length :Number = this.length;
        
        x /= length;
        y /= length;
        
        return length;
    }

    /** 
     * Normalizes this vector in place.
     * Returns a reference to 'this', for chaining. 
     */
    public function normalizeLocal () :Vector2
    {

        this.y = y;
    }

    /**
     * Returns the dot product of this vector with vector v.
     */
    public function dot (v :Vector2) :Number
    {
