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

+ 7 - 0
documentation/lua_api.txt

@@ -177,6 +177,13 @@ Matrix4x4
 	**to_string** (a)
 	**to_string** (a)
 		Returns a string representing the matrix.
 		Returns a string representing the matrix.
 
 
+Math
+----
+
+	**ray_obb_intersection** (from, dir, tm, extents) : float
+		Returns the distance along ray (from, dir) to intersection point with the oriented
+		bounding box (tm, extents) or -1.0 if no intersection.
+
 World
 World
 =====
 =====