getNormalAt method
Implementation
void getNormalAt(double x, double y, bool edgeClamp, Vec3 result) {
final a = _getNormalAtA;
final b = _getNormalAtB;
final c = _getNormalAtC;
final e0 = _getNormalAtE0;
final e1 = _getNormalAtE1;
getTriangleAt(x, y, edgeClamp, a, b, c);
b.vsub(a, e0);
c.vsub(a, e1);
e0.cross(e1, result);
result.normalize();
}