mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-16 01:01:38 +00:00
add about page model loading
This commit is contained in:
@ -16,6 +16,7 @@ const CatModel = () => {
|
||||
GLTFLoader,
|
||||
'./models/just_a_hungry_cat/modelDraco.gltf',
|
||||
(loader) => {
|
||||
toggleLoading(true);
|
||||
const dracoLoader = new DRACOLoader();
|
||||
dracoLoader.setDecoderPath('./libs/draco/');
|
||||
loader.setDRACOLoader(dracoLoader);
|
||||
|
Reference in New Issue
Block a user