samplePointOnFace

fun samplePointOnFace(a: Double, b: Double): Vec3

Samples a point on the face by spreading a and b over its two variable axes.

The first variable axis (in x, y, z order) is scaled by a, the second by b. Constant (zero width) axes stay pinned to their from coordinate.