setFromPointsAndIndices method

Triangle setFromPointsAndIndices(
  1. dynamic points,
  2. int i0,
  3. int i1,
  4. int i2,
)

Implementation

Triangle setFromPointsAndIndices(points, int i0, int i1, int i2) {
  a.copy(points[i0]);
  b.copy(points[i1]);
  c.copy(points[i2]);

  return this;
}