addPointGeometry method

dynamic addPointGeometry(
  1. dynamic vertices
)

Implementation

addPointGeometry(vertices) {
  object!.geometry["type"] = 'Points';

  var vLen = this.vertices.length;

  for (var vi = 0, l = vertices.length; vi < l; vi++) {
    var index = parseVertexIndex(vertices[vi], vLen);

    addVertexPoint(index);
    addColor(index, null, null);
  }
}