addPointGeometry method

dynamic addPointGeometry(
  1. dynamic vertices
)

Implementation

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

  var vLen = this.vertices.length;

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

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