setFromPointsAndIndices method

Triangle setFromPointsAndIndices(
  1. List<Vector3> points,
  2. int i0,
  3. int i1,
  4. int i2,
)

Implementation

Triangle setFromPointsAndIndices(List<Vector3> points, int i0, int i1, int i2) {
  a.setFrom(points[i0]);
  b.setFrom(points[i1]);
  c.setFrom(points[i2]);

  return this;
}