Fixed typos

(cherry picked from commit 693ee5dd56)
This commit is contained in:
MrVallentin 2018-11-04 22:15:11 +01:00 committed by Rémi Verschelde
parent 2b54f0e680
commit 4c35d33ef6
3 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,7 @@
Color interpolator node. Color interpolator node.
</brief_description> </brief_description>
<description> <description>
Given a set of colors, this node will interpolate them in order, meaning, that if you have color 1, color 2 and color3, the ramp will interpolate (generate the colors between two colors) from color 1 to color 2 and from color 2 to color 3. Initially the ramp will have 2 colors (black and white), one (black) at ramp lower offset offset 0 and the other (white) at the ramp higher offset 1. Given a set of colors, this node will interpolate them in order, meaning, that if you have color 1, color 2 and color 3, the ramp will interpolate (generate the colors between two colors) from color 1 to color 2 and from color 2 to color 3. Initially the ramp will have 2 colors (black and white), one (black) at ramp lower offset 0 and the other (white) at the ramp higher offset 1.
</description> </description>
<tutorials> <tutorials>
</tutorials> </tutorials>

View File

@ -104,7 +104,7 @@
</argument> </argument>
<description> <description>
Returns specified edge associated with given face. Returns specified edge associated with given face.
Edge argument must 2 or less becuase a face only has three edges. Edge argument must 2 or less because a face only has three edges.
</description> </description>
</method> </method>
<method name="get_face_meta" qualifiers="const"> <method name="get_face_meta" qualifiers="const">
@ -134,14 +134,14 @@
</argument> </argument>
<description> <description>
Returns specified vertex of given face. Returns specified vertex of given face.
Vertex argument must be 2 or less becuase faces contain three vertices. Vertex argument must be 2 or less because faces contain three vertices.
</description> </description>
</method> </method>
<method name="get_format" qualifiers="const"> <method name="get_format" qualifiers="const">
<return type="int"> <return type="int">
</return> </return>
<description> <description>
Returns format of [Mesh]. Format is an integer made up of [Mesh] format flags combined together. For example, a mesh containing both vertices and normals would return a format of [code]3[/code] becuase [code]ARRAY_FORMAT_VERTEX[/code] is [code]1[/code] and [code]ARRAY_FORMAT_NORMAL[/code] is [code]2[/code]. Returns format of [Mesh]. Format is an integer made up of [Mesh] format flags combined together. For example, a mesh containing both vertices and normals would return a format of [code]3[/code] because [code]ARRAY_FORMAT_VERTEX[/code] is [code]1[/code] and [code]ARRAY_FORMAT_NORMAL[/code] is [code]2[/code].
For list of format flags see [ArrayMesh]. For list of format flags see [ArrayMesh].
</description> </description>
</method> </method>

View File

@ -13,7 +13,7 @@
var rigid = RigidBody2D.new() var rigid = RigidBody2D.new()
var collision = CollisionShape2D.new() var collision = CollisionShape2D.new()
# create the object hierachy # create the object hierarchy
rigid.add_child(collision) rigid.add_child(collision)
node.add_child(rigid) node.add_child(rigid)