computeBarycentric#
Defined in include/foundation/PxMathUtils.h
- inline void computeBarycentric( )#
Computes the barycentric coordinates for a point inside a triangle (deprecated).
This function is deprecated. Use PxComputeBarycentric instead.
See also
PxComputeBarycentric
- Parameters:
a – [in] Vertex A of the triangle
b – [in] Vertex B of the triangle
c – [in] Vertex C of the triangle
p – [in] The point for which to compute the barycentric coordinates
bary – [out] The resulting barycentric coordinates as a PxVec4