addVertex method

dynamic addVertex(
  1. dynamic a,
  2. dynamic b,
  3. dynamic c
)

Implementation

addVertex(a, b, c) {
  var src = vertices;
  var dst = object!.geometry["vertices"];

  dst.addAll([src[a + 0], src[a + 1], src[a + 2]]);
  dst.addAll([src[b + 0], src[b + 1], src[b + 2]]);
  dst.addAll([src[c + 0], src[c + 1], src[c + 2]]);
}