Check out example codes for "get normal from 3 points". It will help you in understanding the concepts better.

Code Example 1

Vector normal = Vector.Cross(B - A, C - A).normalized();

Learn ReactJs, React Native from akashmittal.com