From d9149847ed1002b198719d81d5050b8069038453 Mon Sep 17 00:00:00 2001 From: Chris Bradfield Date: Wed, 19 Apr 2017 13:21:36 -0700 Subject: Clarification of degrees/radians in angle methods --- doc/base/classes.xml | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) (limited to 'doc/base/classes.xml') diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 3e56be7a25..9b1f8c788b 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -6929,7 +6929,7 @@ - Introduce an additional rotation around the given axis by phi. Only relevant when the matrix is being used as a part of [Transform]. The axis must be a normalized vector. + Introduce an additional rotation around the given axis by phi (radians). Only relevant when the matrix is being used as a part of [Transform]. The axis must be a normalized vector. @@ -8333,7 +8333,7 @@ - Set the transform state of this CanvasItem. For [Node2D], this is an [Array] with (in order) a [Vector2] for position, a float for rotation and another [Vector2] for scale. For [Control] this is a [Rect2] with the position and size. + Set the transform state of this CanvasItem. For [Node2D], this is an [Array] with (in order) a [Vector2] for position, a float for rotation (radians) and another [Vector2] for scale. For [Control] this is a [Rect2] with the position and size. @@ -8708,14 +8708,14 @@ - Return the base rotation for this layer (helper). + Return the base rotation for this layer in radians (helper). - Get rotation of the layer in degree. + Return the base rotation for this layer in degrees. @@ -8763,14 +8763,14 @@ - Set the base rotation for this layer (helper). + Set the base rotation for this layer in radians (helper). - Set rotation of the layer in degree. + Set the base rotation for this layer in degrees (helper). @@ -10865,12 +10865,14 @@ + Return the rotation (in radians) + Return the rotation (in degrees) @@ -11185,12 +11187,14 @@ + Set the rotation (in radians). + Set the rotation (in degrees). @@ -25812,7 +25816,7 @@ - Apply a 'radians' rotation to the 2D node, starting from its current rotation. + Apply a rotation (in radians) to the 2D node, starting from its current rotation. @@ -39597,12 +39601,14 @@ + Return the rotation (in radians). + Return the rotation (in degrees). @@ -39771,12 +39777,14 @@ + Set the rotation (in radians). + Set the rotation (in degrees). @@ -46106,6 +46114,7 @@ + Return the rotation (in radians). @@ -48386,6 +48395,7 @@ do_property]. + Return the steering angle (in radians). @@ -48416,6 +48426,7 @@ do_property]. + Set the steering angle (in radians). -- cgit v1.2.3