Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Vertex to extend Vector3? #1703

Closed
Closed
@mrdoob

Description

@mrdoob

Right nowVertex has just aposition property which is aVector3. HistoricallyVertex had more properties but we have been moving them out toGeometry andposition is the only one left.

I've seen some people "struggling" with this already. Somehow they expect to be able to do:

varvertex=newTHREE.Vertex(Math.random()*100-50,Math.random()*100-50,Math.random()*100-50);

or

varvertex=newTHREE.Vertex();vertex.x=Math.random()*100-50;vertex.y=Math.random()*100-50;vertex.z=Math.random()*100-50;

I wonder if it'd be better to just haveVertex extendingVector3?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp