mirror of
https://github.com/troisjs/trois.git
synced 2024-11-24 04:12:02 +08:00
more notes
This commit is contained in:
parent
26e0ca6063
commit
10ea7d445d
@ -39,6 +39,7 @@ export default {
|
||||
},
|
||||
setup() {
|
||||
const raycaster = new Raycaster();
|
||||
// TODO: change to 'pointer', add event listeners for mousemove and touch
|
||||
const mouse = new Vector2();
|
||||
|
||||
return { mouse, raycaster }
|
||||
|
Loading…
Reference in New Issue
Block a user