diff options
author | Jiří Procházka <ojirio@gmail.com> | 2019-04-30 22:32:02 +0200 |
---|---|---|
committer | Jiří Procházka <ojirio@gmail.com> | 2019-05-01 11:11:09 +0200 |
commit | 04b49264f2d752c32a4bb771367e78ca2f44b447 (patch) | |
tree | dc8d61dc7a50bd26027d9745993b04eda6bdbd89 /doc/classes | |
parent | dd2cd06165670bb0d78bf4aa397935be15716e76 (diff) |
Small documentation improvements
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Camera.xml | 2 | ||||
-rw-r--r-- | doc/classes/Path2D.xml | 1 | ||||
-rw-r--r-- | doc/classes/Vector2.xml | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/doc/classes/Camera.xml b/doc/classes/Camera.xml index 014df2b72a..05858e8bc6 100644 --- a/doc/classes/Camera.xml +++ b/doc/classes/Camera.xml @@ -196,7 +196,7 @@ Perspective Projection (object's size on the screen becomes smaller when far away). </constant> <constant name="PROJECTION_ORTHOGONAL" value="1" enum="Projection"> - Orthogonal Projection (objects remain the same size on the screen no matter how far away they are). + Orthogonal Projection (objects remain the same size on the screen no matter how far away they are; also known as orthographic projection). </constant> <constant name="PROJECTION_FRUSTUM" value="2" enum="Projection"> </constant> diff --git a/doc/classes/Path2D.xml b/doc/classes/Path2D.xml index c77e00a28e..ce15b3eab2 100644 --- a/doc/classes/Path2D.xml +++ b/doc/classes/Path2D.xml @@ -5,6 +5,7 @@ </brief_description> <description> Can have [PathFollow2D] child-nodes moving along the [Curve2D]. See [PathFollow2D] for more information on this usage. + Note that the path is considered as relative to the moved nodes (children of [PathFollow2D]) - usually the curve should start with a zero vector (0, 0). </description> <tutorials> </tutorials> diff --git a/doc/classes/Vector2.xml b/doc/classes/Vector2.xml index e6fb32a032..75221ccc82 100644 --- a/doc/classes/Vector2.xml +++ b/doc/classes/Vector2.xml @@ -216,7 +216,7 @@ <argument index="0" name="phi" type="float"> </argument> <description> - Returns the vector rotated by [code]phi[/code] radians. + Returns the vector rotated by [code]phi[/code] radians. See also [method @GDScript.deg2rad]. </description> </method> <method name="round"> |