Vatroslav Vrbanic
Vatroslav Vrbanic
**Current status update**: the initial comment is still applicable. The [`LoadedGLTF`](https://github.com/vatro/svelthree/blob/dev/src/components/LoadedGLTF.svelte) component can load, add and postprocess ([`GLTF_afterLoaded`](https://github.com/vatro/svelthree/blob/dev/src/utils/GLTF_afterLoaded.ts)) a GTLF model + a GLTF model can be converted into svelthree...
see https://discourse.threejs.org/t/raycaster-hits-invisible-object/31279 see answer https://discourse.threejs.org/t/raycaster-hits-invisible-object/31279/2 > **Raycaster honors invisible objects** since r114 . Please use the new property [Raycaster.layers](https://threejs.org/docs/index.html#api/en/core/Raycaster.layers) for selectively ignoring 3D objects during raycasting. Moving this to 1.0.0-next.X...
### Current Status **svelte-check**: no errors / warnings / hints **lint**: 5 errors **( - 0 )**, 357 warnings **( - 51 )**
8 out of 9 `no-explicit-any` warnings in components are related to lifecycle functions, since: ```ts // Svelte lifecycle d.ts export declare function beforeUpdate(fn: () => any): void; export declare function...
### Current Status **svelte-check**: no errors / warnings / hints **lint**: 5 errors **( - 0 )**, 105 warnings **( - 252 )**
Next (e.g. ìn `Mesh`): https://github.com/vatro/svelthree/blob/00e3fada8d93f9bf24363fca84e396d37833d177/src/lib/components/Mesh.svelte#L705 https://github.com/vatro/svelthree/blob/00e3fada8d93f9bf24363fca84e396d37833d177/src/lib/components/Mesh.svelte#L725 https://github.com/vatro/svelthree/blob/00e3fada8d93f9bf24363fca84e396d37833d177/src/lib/components/Mesh.svelte#L862
concerning `on` and `onx` methods, e.g. ìn `Mesh`: https://github.com/vatro/svelthree/blob/00e3fada8d93f9bf24363fca84e396d37833d177/src/lib/components/Mesh.svelte#L705 https://github.com/vatro/svelthree/blob/00e3fada8d93f9bf24363fca84e396d37833d177/src/lib/components/Mesh.svelte#L725 there are several `$on` type definitions in Svelte (runtime + dev): ```ts // svelte/types/runtime/internal/Component.d.ts export declare class SvelteComponent { ......
### Current Status **svelte-check**: no errors / warnings / hints **lint**: 5 errors **( - 0 )**, 89 warnings **( - 16 )**
concerning `no-explicit-any` warning for `get_animation` (e.g. in `Mesh`): https://github.com/vatro/svelthree/blob/00e3fada8d93f9bf24363fca84e396d37833d177/src/lib/components/Mesh.svelte#L862 fix this along with: ``` .\src\lib\ani\SvelthreeAnimation.ts 8:13 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 36:25 warning Unexpected any. Specify a...
### Current Status **svelte-check**: no errors / warnings / hints **lint**: 0 errors **( - 5 )**, 69 warnings **( - 20 )**