vatro / svelthree

Create three.js content using Svelte components.
https://svelthree.dev
MIT License
482 stars 15 forks source link

`Targetable` check, fix / complete implementation, polish #135

Closed vatro closed 1 year ago

vatro commented 2 years ago

see (e.g.): https://github.com/vatro/svelthree/blob/5ef56b4626894e67d06b3c876f30a79817182974/src/components/SpotLight.svelte#L257-L261 target can be either set to false ( TODO )`

and

https://github.com/vatro/svelthree/blob/5ef56b4626894e67d06b3c876f30a79817182974/src/utils/LightTarget.ts#L35-L39

vatro commented 1 year ago

This is a mess, will need a refactor: