staticContainsPoint static method

bool staticContainsPoint(
  1. dynamic point,
  2. Vector3 a,
  3. Vector3 b,
  4. Vector3 c,
)

Implementation

static bool staticContainsPoint(point, Vector3 a, Vector3 b, Vector3 c) {
  staticGetBarycoord(point, a, b, c, _v3);

  return (_v3.x >= 0) && (_v3.y >= 0) && ((_v3.x + _v3.y) <= 1);
}