Browse Source

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

Don McCurdy 7 years ago
parent
commit
ed6042c5f4
1 changed files with 3 additions and 1 deletions
  1. 3 1
      docs/api/math/Triangle.html

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

@@ -79,7 +79,9 @@
 		<div>
 		<div>
 		[page:Vector3 point] - [page:Vector3] to check.<br /><br />
 		[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>
 		</div>
 
 
 		<h3>[method:Triangle copy]( [page:Triangle triangle] )</h3>
 		<h3>[method:Triangle copy]( [page:Triangle triangle] )</h3>