Y

three/r168/migration-recipe

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 recipe is a set of codemods that will help migrate to three r168 from three r167 .

The recipe includes the following codemods:

  • three/r168/uniforms-to-uniformarray
  • three/r168/logluvloader-to-ultraHDRLoader
  • three/r168/pointerlockcontrols-object-to-controls-object
  • three/r168/dragcontrols-getraycaster-to-controls-raycaster
  • three/r168/dragcontrols.deactivate-to-disconnect
  • three/r168/dragcontrols.activate-to-connect
  • three/r168/viewportBottomLeft-to-viewportUV.flipY()
  • three/r168/viewportTopLeft-to-viewportUV

Ready to contribute?

Build your own codemod and share it with the community.