mirror of
https://github.com/yeicor-3d/yet-another-cad-viewer.git
synced 2025-12-20 06:27:04 +01:00
better async components
This commit is contained in:
@@ -6,8 +6,7 @@ import type {ModelViewerElement} from '@google/model-viewer';
|
||||
import type {ModelScene} from "@google/model-viewer/lib/three-components/ModelScene";
|
||||
import {mdiCursorDefaultClick} from '@mdi/js';
|
||||
import type {Intersection, Material, Object3D} from "three";
|
||||
|
||||
const {Raycaster} = await import("three");
|
||||
import {Raycaster} from "three";
|
||||
|
||||
export type MObject3D = Object3D & {
|
||||
userData: { noHit?: boolean },
|
||||
|
||||
Reference in New Issue
Block a user