three-mesh-ui icon indicating copy to clipboard operation
three-mesh-ui copied to clipboard

Fix MSDFText call to translate() for newer versions of three.js and clean up to be deprecated function calls

Open kalegd opened this issue 1 year ago • 0 comments

This pull request is for the following updates to play nicely with newer versions of three.js

  • Fix fatal error in MSDFText.buildText() by providing default values to translate function call
  • Fix broken links from images in README
  • Update examples to use renderer.outputColorSpace instead of renderer.outputEncoding
  • Use mergeGeometries instead of the to be deprecated mergeBufferGeometries from BufferGeometryUtils.js
  • Remove "Buffer" from various Geometry instantiations as all geometries are now BufferGeometries

This should address the following issues

  • https://github.com/felixmariotto/three-mesh-ui/issues/269
  • https://github.com/felixmariotto/three-mesh-ui/issues/271

kalegd avatar Dec 03 '23 09:12 kalegd