浏览代码

Triangle: Add note about barycentric coordinates in .containsPoint() docs.

Don McCurdy 7 年之前
父节点
当前提交
ed6042c5f4
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      docs/api/math/Triangle.html

+ 3 - 1
docs/api/math/Triangle.html

@@ -79,7 +79,9 @@
 		<div>
 		[page:Vector3 point] - [page:Vector3] to check.<br /><br />
 
-		Returns true if the passed vector is within the triangle.
+		Returns true if the passed vector is within the triangle in
+		[link:https://en.wikipedia.org/wiki/Barycentric_coordinate_system barycentric coordinates]
+		(the vector is projected onto the plane of the triangle before checking containment).
 		</div>
 
 		<h3>[method:Triangle copy]( [page:Triangle triangle] )</h3>