Daniele Bartolini 10 anos atrás
pai
commit
dbfae8dd3f
1 arquivos alterados com 10 adições e 0 exclusões
  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
 		Returns the distance along ray (from, dir) to intersection point with the oriented
 		bounding box (tm, half_extents) or -1.0 if no intersection.
 		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
 UnitManager
 ===========
 ===========
 
 
@@ -795,6 +799,12 @@ Device
 	**enable_resource_autoload** (enable)
 	**enable_resource_autoload** (enable)
 		Sets whether resources should be automatically loaded when accessed.
 		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
 DebugLine
 =========
 =========