-
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
h…
-
Light helpers are currently not updating on **FIRST** render in `mode="auto"`. BUT they're updating OK on every subsequent change / render.
https://github.com/vatro/svelthree/blob/6d89ca98647c52696…
-
https://github.com/vatro/svelthree/blob/8fb54d28b52b43532b15600bd01d4712f2032ed6/src/components/Scene.svelte#L203-L207
-
to check / fix / polish:
- When using `on:before_render={animate}`: `obj3d.rot = [0, rot_y, 0]` will, but `obj3d.rot[1] = rot_y` will not schedule a new render, the value of `rot` will be changed i…
-
Test extensively & refactor, this has to bulletproof for `next.1`
Noticed (_issues_) during testing:
- [x] Improve / Refactor `SvelthreeGLTF` and related types (_related to using `"strict": true` …
-
I ran into an issue with `svelthree`-test-scenes while using `$capture_state()` to get components props where
~`comp.$capture_state()` was first available `onMount` of the top-parent (+page) when p…
-
I've been struggling with project setup issues ever since, especially the correct TypeScript setup. Currently, I'm pretty annoyed by some strange / inconsistent TS behavior inside the `svelthree`-proj…
vatro updated
2 years ago
-
(simple) have only `e.detail.frame` :
- `before_render`
- `before_render_int`
- `before_render_scene`
- `after_render`
vatro updated
2 years ago
-
Maybe we don't need `[P in keyof ...` anymore to get decent intellisense (see `mat` shorthand after migration to SvelteKit-library setup ...) or it was never really needed but X was wrong? Can be any…
vatro updated
2 years ago
-
Current status: #169
Whole project:
- `no-explicit-any`: type properly or ignore warning.
- `no-unused-vars`: fix.
vatro updated
2 years ago