uniformBarycentric
Generates a 3D vector with components representing uniform barycentric coordinates over a standard triangle. The barycentric coordinates are computed based on two input parameters, u and v, which are random values typically ranging between 0 and 1.
Return
A Vector3 instance representing uniform barycentric coordinates, where each component corresponds to the weight of a vertex in the triangle.
Parameters
u
A random value used to compute the barycentric coordinate.
v
A random value used to compute the barycentric coordinate.