static_isFrontFacing static method
Implementation
static bool static_isFrontFacing(
Vector3 a, Vector3 b, Vector3 c, Vector3 direction) {
_v0.subVectors(c, b);
_v1.subVectors(a, b);
// strictly front facing
return (_v0.cross(_v1).dot(direction) < 0) ? true : false;
}