Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TSL: Introduce .flip*() syntax #29208

Merged
merged 1 commit into from
Aug 22, 2024
Merged

TSL: Introduce .flip*() syntax #29208

merged 1 commit into from
Aug 22, 2024

Conversation

sunag
Copy link
Collaborator

@sunag sunag commented Aug 22, 2024

Description

Introducing the flip*() syntax: This feature allows you to easily flip texture coordinates. You can apply it either individually component or in combination. For example, use node.flipY() to flip along the Y-axis or node.flipXY() to flip along both the X and Y axes.

@sunag sunag added this to the r168 milestone Aug 22, 2024
@sunag sunag changed the title TSL: Introduce .flip() syntax TSL: Introduce .flip*() syntax Aug 22, 2024
Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Filesize dev Filesize PR Diff
685.4 kB (169.7 kB) 685.4 kB (169.7 kB) +0 B

🌳 Bundle size after tree-shaking

Minimal build including a renderer, camera, empty scene, and dependencies.

Filesize dev Filesize PR Diff
462 kB (111.4 kB) 462 kB (111.4 kB) +0 B

@sunag sunag marked this pull request as ready for review August 22, 2024 17:16
@sunag sunag merged commit 41928f7 into mrdoob:dev Aug 22, 2024
12 checks passed
@sunag sunag deleted the dev-flip branch August 22, 2024 17:16
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.

1 participant