From 054a2ac579c4893f46b680b1cb0d2460aa3d9140 Mon Sep 17 00:00:00 2001 From: pablotato Date: Fri, 13 Oct 2017 01:15:45 +0200 Subject: Add cartesian to polar conversion functions --- doc/classes/@GDScript.xml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/@GDScript.xml b/doc/classes/@GDScript.xml index 49ec412ba0..15ada7fdfa 100644 --- a/doc/classes/@GDScript.xml +++ b/doc/classes/@GDScript.xml @@ -138,6 +138,17 @@ Decodes a byte array back to a value. + + + + + + + + + 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). + + @@ -604,6 +615,17 @@ [/codeblock] + + + + + + + + + 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). + + -- cgit v1.2.3