You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MeshLine.prototype.setGeometry = function(g, c) {
// as the input geometry are mutated we store them
// for later retreival when necessary (declaritive architectures)
this._geometry = g;
if (g instanceof THREE.Geometry) {
this.setPoints(g.vertices, c);
} else if (g instanceof THREE.BufferGeometry) {
this.setPoints(g.getAttribute("position").array, c);
} else {
this.setPoints(g, c);
}
}
will report error below:
Uncaught TypeError: Right-hand side of 'instanceof' is not an object
at MeshLine.setGeometry (THREE.MeshLine.js:81)
The text was updated successfully, but these errors were encountered:
as the link discourse.threejs
will report error below:
The text was updated successfully, but these errors were encountered: