mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-21 18:05:29 +02:00
wip
This commit is contained in:
@@ -16,11 +16,16 @@ export const cupNoodle = defineObject({
|
||||
},
|
||||
placement: 'top',
|
||||
createInstance: ({ scene, root }) => {
|
||||
let yugeDispose: (() => void) | null = null;
|
||||
|
||||
return {
|
||||
onInited: () => {
|
||||
yuge(scene, root, new BABYLON.Vector3(0, 10/*cm*/, 0));
|
||||
yugeDispose = yuge(scene, root, new BABYLON.Vector3(0, 10/*cm*/, 0));
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {
|
||||
yugeDispose?.();
|
||||
},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
||||
@@ -16,11 +16,16 @@ export const mug = defineObject({
|
||||
},
|
||||
placement: 'top',
|
||||
createInstance: ({ scene, root }) => {
|
||||
let yugeDispose: (() => void) | null = null;
|
||||
|
||||
return {
|
||||
onInited: () => {
|
||||
yuge(scene, root, new BABYLON.Vector3(0, 5/*cm*/, 0));
|
||||
yugeDispose = yuge(scene, root, new BABYLON.Vector3(0, 5/*cm*/, 0));
|
||||
},
|
||||
interactions: {},
|
||||
dispose: () => {
|
||||
yugeDispose?.();
|
||||
},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user