setFromPoints method
dynamic
setFromPoints(
- dynamic points
Implementation
setFromPoints(points) {
this.vertices = [];
for (var i = 0, l = points.length; i < l; i++) {
var point = points[i];
this.vertices.add(new THREE.Vector3(point.x, point.y, point.z ?? 0));
}
return this;
}