Explorar el Código

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

Don McCurdy hace 7 años
padre
commit
ed6042c5f4
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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>