get normal from 3 points

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

Also in C#: