The BoxBufferGeometry
mesh just turns green when it is hovered upon by your mouse cursor, nothing fancy here.
This will help you setup Ray Casting in your three.js app.
This project uses Parcel to bundle your files.
yarn start
- Start dev server
yarn build
- Build bundle in dist/