copyNormalInto method

void copyNormalInto(
  1. Vector3 normal
)

Copy the normal of this into normal.

Implementation

void copyNormalInto(Vector3 normal) {
  final v0 = _point0.clone()..sub(_point1);
  normal
    ..setFrom(_point2)
    ..sub(_point1)
    ..crossInto(v0, normal)
    ..normalize();
}