aboutsummaryrefslogtreecommitdiff
path: root/doc/classes/Vector3.xml
diff options
context:
space:
mode:
authorAaron McLeod2018-01-06 18:28:21 -0500
committerAaron McLeod2018-01-06 18:28:21 -0500
commitb04610b5e75b8d1fa1916ad7255bdcc5c638536a (patch)
tree6e0ec5bc2ba0d3bd8804b17b2baec6564826fd11 /doc/classes/Vector3.xml
parent00d5b9ce96cb0855b8040f8eba6d4ebddc908aaa (diff)
downloadgodot-b04610b5e75b8d1fa1916ad7255bdcc5c638536a.tar.gz
godot-b04610b5e75b8d1fa1916ad7255bdcc5c638536a.tar.zst
godot-b04610b5e75b8d1fa1916ad7255bdcc5c638536a.zip
Indicate what "t" means in interpolation docs
Diffstat (limited to '')
-rw-r--r--doc/classes/Vector3.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/Vector3.xml b/doc/classes/Vector3.xml
index acb41297a..dff3d04b0 100644
--- a/doc/classes/Vector3.xml
+++ b/doc/classes/Vector3.xml
@@ -77,7 +77,7 @@
<argument index="3" name="t" type="float">
</argument>
<description>
- Performs a cubic interpolation between vectors [code]pre_a[/code], [code]a[/code], [code]b[/code], [code]post_b[/code] ([code]a[/code] is current), by the given amount (t).
+ Performs a cubic interpolation between vectors [code]pre_a[/code], [code]a[/code], [code]b[/code], [code]post_b[/code] ([code]a[/code] is current), by the given amount (t). (t) should be a float of 0.0-1.0, a percentage of how far along the interpolation is.
</description>
</method>
<method name="distance_squared_to">
@@ -150,7 +150,7 @@
<argument index="1" name="t" type="float">
</argument>
<description>
- Linearly interpolates the vector to a given one (b), by the given amount (t).
+ Linearly interpolates the vector to a given one (b), by the given amount (t). (t) should be a float of 0.0-1.0, a percentage of how far along the interpolation is.
</description>
</method>
<method name="max_axis">