Daniele Bartolini 10 лет назад
Родитель
Сommit
dbfae8dd3f
1 измененных файлов с 10 добавлено и 0 удалено
  1. 10 0
      docs/lua_api.txt

+ 10 - 0
docs/lua_api.txt

@@ -335,6 +335,10 @@ Math
 		Returns the distance along ray (from, dir) to intersection point with the oriented
 		bounding box (tm, half_extents) or -1.0 if no intersection.
 
+	**ray_triangle_intersection** (from, dir, v0, v1, v2) : float
+		Returns the distance along ray (from, dir) to intersection point with the triangle
+		(v0, v1, v2) or -1.0 if no intersection.
+
 UnitManager
 ===========
 
@@ -795,6 +799,12 @@ Device
 	**enable_resource_autoload** (enable)
 		Sets whether resources should be automatically loaded when accessed.
 
+	**temp_count** () : int, int, int
+		Returns the number of temporary objects used by Lua.
+
+	**set_temp_count** (nv, nq, nm)
+		Sets the number of temporary objects used by Lua.
+
 DebugLine
 =========