summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMax Hilbrunner <mhilbrunner@users.noreply.github.com>2019-05-01 21:45:56 +0200
committerGitHub <noreply@github.com>2019-05-01 21:45:56 +0200
commit46b6fb83efc8e021cf60502d1e42fdd912b020eb (patch)
tree91156d31f36ab7d7e92760d9dd090264a3319f90 /doc
parent9f49e50d6d6ba8ad54e1106ab3954177ecc794c2 (diff)
parent04b49264f2d752c32a4bb771367e78ca2f44b447 (diff)
Merge pull request #28542 from Anchakor/master
Small documentation improvements
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Camera.xml2
-rw-r--r--doc/classes/Path2D.xml1
-rw-r--r--doc/classes/Vector2.xml2
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">