Open FullstackJack opened 11 years ago
stars.js throws error to the console "THREE.Vertex has been DEPRECATED. Use THREE.Vector3 instead."
Still haven't gotten it to show the stars...
Probably want to just change:
starsGeometry.vertices.push( new THREE.Vertex( vector ) ) ;
to:
starsGeometry.vertices.push( vector );
since vector is already a Vector3 object.
im also facing same issue.
Same problem using Sparks.js example wth Three.js version 60 Any body have a fix?
stars.js throws error to the console "THREE.Vertex has been DEPRECATED. Use THREE.Vector3 instead."
Still haven't gotten it to show the stars...
Probably want to just change:
starsGeometry.vertices.push( new THREE.Vertex( vector ) ) ;
to:
starsGeometry.vertices.push( vector );
since vector is already a Vector3 object.