three-mesh-ui
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
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