Skip to content

stars.js - THREE.Vertex has been deprecated, use THREE.Vector3 instead #5

@FullstackJack

Description

@FullstackJack

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions