Y

three/r168/viewportBottomLeft-to-viewportUV.flipY()

How to Use
Run this codemod on your codebase using one of the following commands

The easiest way to run this codemod without installing anything globally:

Documentation

This codemod replaces viewportBottomLeft with viewportUV.flipY()

Example

Additional Information: But keep in mind we have to remove viewportBottomLeft manually from the import statement.
In this version it does not remove viewportBottomLeft from import statements.

Before

ts

After

ts

Before

ts

After

ts

Ready to contribute?

Build your own codemod and share it with the community.