-
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
-
```
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'c')
at transition_out (svelthree.mjs:10:3972)
at Object.o (svelthree.mjs:10:1022812)
at transition_ou…
-
In #376 we realized that `gfx.show` can massively simplify the examples and reduce boilerplate. Indeed, it reduces the current hello world example to:
```python
import pygfx as gfx
cube = gfx.M…
-
Fix it, see:
https://github.com/vatro/svelthree/blob/94f10f7d2c9c072cd34de68bc02b0cccba3656bf/src/components/Scene.svelte#L521-L533
https://github.com/vatro/svelthree/blob/94f10f7d2c9c072cd34de68bc0…
vatro updated
2 years ago
-
Thanks for Svelthree!
I was wondering how I might disable the console messages from Svelthree. It's rather noisy 😅
-
e.g.
```svelte
import { _Mesh, _SpotLight, _PerspectiveCamera } from "svelthree"
const my_premade_mesh = new _Mesh(...)
const my_premade_spotlight = new _SpotLight(...)
const my_premade_camera …
vatro updated
2 years ago
-
Given:
``` svelte
```
``` svelte
```
``` svelte
```
``` svelte
```
Problem:
https://github.com/vatro/svelthree/blob/07120b0022…
vatro updated
2 years ago
-
https://github.com/vatro/svelthree/blob/8fb54d28b52b43532b15600bd01d4712f2032ed6/src/utils/Propeller.ts#L98-L101
vatro updated
2 years ago
-
`"this will most probably never happen"` or `"it can / will never happen"` ?
If in both cases three.js throws an Error (_I'm pretty sure it will_) at some point, we don't need to do it -> simplify.
…
vatro updated
2 years ago