Indicate what "t" means in interpolation docs

This commit is contained in:
Aaron McLeod 2018-01-06 18:28:21 -05:00
parent 00d5b9ce96
commit b04610b5e7
2 changed files with 4 additions and 4 deletions

View file

@ -92,7 +92,7 @@
<argument index="3" name="t" type="float"> <argument index="3" name="t" type="float">
</argument> </argument>
<description> <description>
Cubicly interpolates between this Vector and "b", using "pre_a" and "post_b" as handles, and returning the result at position "t". Cubicly interpolates between this Vector and "b", using "pre_a" and "post_b" as handles, and returning the result at position "t". "t" should be a float of 0.0-1.0, a percentage of how far along the interpolation is.
</description> </description>
</method> </method>
<method name="distance_squared_to"> <method name="distance_squared_to">
@ -158,7 +158,7 @@
<argument index="1" name="t" type="float"> <argument index="1" name="t" type="float">
</argument> </argument>
<description> <description>
Returns the result of the linear interpolation between this vector and "b", by amount "t". Returns the result of the linear interpolation between this vector and "b", by amount "t". "t" should be a float of 0.0-1.0, a percentage of how far along the interpolation is.
</description> </description>
</method> </method>
<method name="normalized"> <method name="normalized">

View file

@ -77,7 +77,7 @@
<argument index="3" name="t" type="float"> <argument index="3" name="t" type="float">
</argument> </argument>
<description> <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> </description>
</method> </method>
<method name="distance_squared_to"> <method name="distance_squared_to">
@ -150,7 +150,7 @@
<argument index="1" name="t" type="float"> <argument index="1" name="t" type="float">
</argument> </argument>
<description> <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> </description>
</method> </method>
<method name="max_axis"> <method name="max_axis">