updateGeometry method
dynamic
updateGeometry()
Implementation
updateGeometry() {
this.mesh.geometry?.index?.array.set(this._indexes);
// print("ooo"+this._points.toString());
this.mesh.geometry?.attributes['position'].array.set(this._points);
this.mesh.geometry?.attributes['tex'].array.set(this._texCoords);
this.mesh.geometry?.index?.needsUpdate = true;
this.mesh.geometry?.attributes['position'].needsUpdate = true;
this.mesh.geometry?.attributes['tex'].needsUpdate = true;
}