Skip to content

TSL: Introduce .flip*() syntax#29208

Merged
sunag merged 1 commit into
mrdoob:devfrom
sunag:dev-flip
Aug 22, 2024
Merged

TSL: Introduce .flip*() syntax#29208
sunag merged 1 commit into
mrdoob:devfrom
sunag:dev-flip

Conversation

@sunag
Copy link
Copy Markdown
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
@github-actions
Copy link
Copy Markdown

📦 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
@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