This repository was archived by the owner on Jul 20, 2020. It is now read-only.
v2.1.0
npm install --save react-three-renderer@2.1.0
Changelog ( see diff )
Core
- Fixed compatibility with
react@~15.1.0 - Fixed compatibility with
three@>=0.74.0 < 0.78.0
Breaking changes
- Lights
<directionalLight>and<pointLight>used to point to the origin by default, but from 2.1.0 they will look forward.
If you would like to restore this behaviour you can do:
// initialisation
origin = new THREE.Vector3(0,0,0);
// and within render
<directionalLight ... lookAt={origin}/>