Browse Source

doc: Sync classref with current source

Rémi Verschelde 7 years ago
parent
commit
47676cfa98
2 changed files with 3 additions and 1 deletions
  1. 1 1
      doc/classes/PhysicsDirectBodyState.xml
  2. 2 0
      doc/classes/Polygon2D.xml

+ 1 - 1
doc/classes/PhysicsDirectBodyState.xml

@@ -45,7 +45,7 @@
 			<description>
 			</description>
 		</method>
-		<method name="apply_torqe_impulse">
+		<method name="apply_torque_impulse">
 			<return type="void">
 			</return>
 			<argument index="0" name="j" type="Vector3">

+ 2 - 0
doc/classes/Polygon2D.xml

@@ -31,6 +31,8 @@
 		<member name="polygon" type="PoolVector2Array" setter="set_polygon" getter="get_polygon">
 			The polygon's list of vertices. The final point will be connected to the first.
 		</member>
+		<member name="splits" type="PoolIntArray" setter="set_splits" getter="get_splits">
+		</member>
 		<member name="texture" type="Texture" setter="set_texture" getter="get_texture">
 			The polygon's fill texture. Use [code]uv[/code] to set texture coordinates.
 		</member>