Skip to content

Conversation

@sunag
Copy link
Collaborator

@sunag sunag commented Mar 3, 2022

Description

Fixes some examples e cleanup after merger #23638, #23636.

@LeviPesin I think that we can ignore nodeType argument in label and others functions.
We can use a syntax similar to this below to create a named var with a fixed type:

const someNode = float( 1.0 );
const myVec3 = label( vec3( someNode ), 'MY_VEC3' );

This contribution is funded by Google via Igalia.

@sunag sunag added this to the r139 milestone Mar 3, 2022
@sunag sunag merged commit 938bfdc into mrdoob:dev Mar 3, 2022
@LeviPesin
Copy link
Contributor

I think the nodeType argument of the VarNode is used only in the WebGPUNodeBuilder... Maybe it can be removed.

@mrdoob
Copy link
Owner

mrdoob commented Mar 3, 2022

Thanks!

donmccurdy pushed a commit to donmccurdy/three.js that referenced this pull request Mar 10, 2022
abernier pushed a commit to abernier/three.js that referenced this pull request Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants