Jelajahi Sumber

Update docs

Daniele Bartolini 10 tahun lalu
induk
melakukan
91be495ba5
1 mengubah file dengan 4 tambahan dan 1 penghapusan
  1. 4 1
      docs/lua_api.txt

+ 4 - 1
docs/lua_api.txt

@@ -128,6 +128,9 @@ Quaternion
 	**Quaternion** (axis, angle) : Quaternion
 		Returns a new quaternion from *axis* and *angle*.
 
+	**from_elements** (x, y, z, w) : Quaternion
+		Returns a new quaternion from individual elements.
+
 	**negate** (q) : Quaternion
 		Negates the quaternion *q* and returns the result.
 
@@ -510,7 +513,7 @@ RenderWorld
 Mesh
 ----
 
-	**create_mesh** (rw, unit, mesh_resource, geometry_name, material_resource, visible) : Id
+	**create_mesh** (rw, unit, mesh_resource, geometry_name, material_resource, visible, pose) : Id
 		Creates a new mesh instance for *unit* and returns its id.
 
 	**destroy_mesh** (rw, id)