Converts a 2D point expressed in the cartesian coordinate system (x and y axis) to the polar coordinate system (a distance from the origin and an angle).
</description>
</method>
<methodname="ceil">
<returntype="float">
</return>
@ -604,6 +615,17 @@
[/codeblock]
</description>
</method>
<methodname="polar2cartesian">
<returntype="Vector2">
</return>
<argumentindex="0"name="r"type="float">
</argument>
<argumentindex="1"name="th"type="float">
</argument>
<description>
Converts a 2D point expressed in the polar coordinate system (a distance from the origin [code]r[/code] and an angle [code]th[/code]) to the cartesian coordinate system (x and y axis).
Convert the input from decibel volume to linear volume.
</constant>
<constantname="MATH_WRAP"value="40">
<constantname="MATH_POLAR2CARTESIAN"value="40">
Converts a 2D point expressed in the polar coordinate system (a distance from the origin [code]r[/code] and an angle [code]th[/code]) to the cartesian coordinate system (x and y axis).
</constant>
<constantname="MATH_WRAPF"value="41">
<constantname="MATH_CARTESIAN2POLAR"value="41">
Converts a 2D point expressed in the cartesian coordinate system (x and y axis) to the polar coordinate system (a distance from the origin and an angle).
</constant>
<constantname="LOGIC_MAX"value="42">
<constantname="MATH_WRAP"value="42">
</constant>
<constantname="MATH_WRAPF"value="43">
</constant>
<constantname="LOGIC_MAX"value="44">
Return the greater of the two numbers, also known as their maximum.
</constant>
<constantname="LOGIC_MIN"value="43">
<constantname="LOGIC_MIN"value="45">
Return the lesser of the two numbers, also known as their minimum.
</constant>
<constantname="LOGIC_CLAMP"value="44">
<constantname="LOGIC_CLAMP"value="46">
Return the input clamped inside the given range, ensuring the result is never outside it. Equivalent to `min(max(input, range_low), range_high)`
</constant>
<constantname="LOGIC_NEAREST_PO2"value="45">
<constantname="LOGIC_NEAREST_PO2"value="46">
Return the nearest power of 2 to the input.
</constant>
<constantname="OBJ_WEAKREF"value="46">
<constantname="OBJ_WEAKREF"value="47">
Create a [WeakRef] from the input.
</constant>
<constantname="FUNC_FUNCREF"value="47">
<constantname="FUNC_FUNCREF"value="48">
Create a [FuncRef] from the input.
</constant>
<constantname="TYPE_CONVERT"value="48">
<constantname="TYPE_CONVERT"value="49">
Convert between types.
</constant>
<constantname="TYPE_OF"value="49">
<constantname="TYPE_OF"value="50">
Return the type of the input as an integer. Check [enum Variant.Type] for the integers that might be returned.
</constant>
<constantname="TYPE_EXISTS"value="50">
<constantname="TYPE_EXISTS"value="51">
Checks if a type is registered in the [ClassDB].
</constant>
<constantname="TEXT_CHAR"value="51">
<constantname="TEXT_CHAR"value="52">
Return a character with the given ascii value.
</constant>
<constantname="TEXT_STR"value="52">
<constantname="TEXT_STR"value="53">
Convert the input to a string.
</constant>
<constantname="TEXT_PRINT"value="53">
<constantname="TEXT_PRINT"value="54">
Print the given string to the output window.
</constant>
<constantname="TEXT_PRINTERR"value="54">
<constantname="TEXT_PRINTERR"value="55">
Print the given string to the standard error output.
</constant>
<constantname="TEXT_PRINTRAW"value="55">
<constantname="TEXT_PRINTRAW"value="56">
Print the given string to the standard output, without adding a newline.
</constant>
<constantname="VAR_TO_STR"value="56">
<constantname="VAR_TO_STR"value="57">
Serialize a [Variant] to a string.
</constant>
<constantname="STR_TO_VAR"value="57">
<constantname="STR_TO_VAR"value="58">
Deserialize a [Variant] from a string serialized using [VAR_TO_STR].
</constant>
<constantname="VAR_TO_BYTES"value="58">
<constantname="VAR_TO_BYTES"value="59">
Serialize a [Variant] to a [PoolByteArray].
</constant>
<constantname="BYTES_TO_VAR"value="59">
<constantname="BYTES_TO_VAR"value="60">
Deserialize a [Variant] from a [PoolByteArray] serialized using [VAR_TO_BYTES].
</constant>
<constantname="COLORN"value="60">
<constantname="COLORN"value="61">
Return the [Color] with the given name and alpha ranging from 0 to 1. Note: names are defined in color_names.inc.
</constant>
<constantname="FUNC_MAX"value="61">
<constantname="FUNC_MAX"value="62">
The maximum value the [member function] property can have.