Skip to content

Conversation

@sunag
Copy link
Collaborator

@sunag sunag commented Jul 19, 2023

Related issue: #26455

Description

Cleanup and improvement of the API separating a .getDefaultUV() of .getTextureMatrix().

@sunag sunag added this to the r155 milestone Jul 19, 2023
@sunag sunag merged commit 4e12145 into mrdoob:dev Jul 19, 2023
@sunag sunag deleted the dev-cubeT branch July 19, 2023 06:03
}

if ( uvNode === null ) uvNode = uv( texture.channel );
getTextureMatrix( uvNode ) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe getTransformedUV or getFinalUV? Because this method doesn't return the matrix.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getTransformedUV() sounds good to me 👍

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep!

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