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