Returns a new vector with all components in absolute values (i.e. positive).
</description>
</method>
<methodname="angle">
<returntype="float">
</return>
<description>
Returns the result of atan2 when called with the Vector's x and y as parameters (Math::atan2(x,y)).
Be aware that it therefore returns an angle oriented clockwise with regard to the (0, 1) unit vector, and not an angle oriented counter-clockwise with regard to the (1, 0) unit vector (which would be the typical trigonometric representation of the angle when calling Math::atan2(y,x)).
</description>
</method>
<methodname="angle_to">
<returntype="float">
</return>
<argumentindex="0"name="to"type="Vector2">
</argument>
<description>
Returns the angle in radians between the two vectors.
</description>
</method>
<methodname="angle_to_point">
<returntype="float">
</return>
<argumentindex="0"name="to"type="Vector2">
</argument>
<description>
Returns the angle in radians between the line connecting the two points and the x coordinate.
</description>
</method>
<methodname="aspect">
<returntype="float">
</return>
<description>
Returns the ratio of X to Y.
</description>
</method>
<methodname="bounce">
<returntype="Vector2">
</return>
<argumentindex="0"name="n"type="Vector2">
</argument>
<description>
Bounce returns the vector "bounced off" from the given plane, specified by its normal vector.
Cubicly interpolates between this Vector and "b", using "pre_a" and "post_b" as handles, and returning the result at position "t". "t" should be a float of 0.0-1.0, a percentage of how far along the interpolation is.
Returns the squared distance to vector "b". Prefer this function over "distance_to" if you need to sort vectors or need the squared distance for some formula.
</description>
</method>
<methodname="distance_to">
<returntype="float">
</return>
<argumentindex="0"name="to"type="Vector2">
</argument>
<description>
Returns the distance to vector "b".
</description>
</method>
<methodname="dot">
<returntype="float">
</return>
<argumentindex="0"name="with"type="Vector2">
</argument>
<description>
Returns the dot product with vector "b".
</description>
</method>
<methodname="floor">
<returntype="Vector2">
</return>
<description>
Remove the fractional part of x and y.
</description>
</method>
<methodname="is_normalized">
<returntype="bool">
</return>
<description>
Returns whether the vector is normalized or not.
</description>
</method>
<methodname="length">
<returntype="float">
</return>
<description>
Returns the length of the vector.
</description>
</method>
<methodname="length_squared">
<returntype="float">
</return>
<description>
Returns the squared length of the vector. Prefer this function over "length" if you need to sort vectors or need the squared length for some formula.
Returns the result of the linear interpolation between this vector and "b", by amount "t". "t" should be a float of 0.0-1.0, a percentage of how far along the interpolation is.