1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-06-12 21:04:10 +02:00
This commit is contained in:
syuilo
2026-04-15 08:51:47 +09:00
parent cf9349f29c
commit 3db0b8a1fd
16 changed files with 126 additions and 116 deletions

View File

@@ -5,7 +5,7 @@
import * as BABYLON from '@babylonjs/core';
import { defineObject } from '../engine.js';
import { yuge } from '../utility.js';
import { cm, yuge } from '../utility.js';
export const mug = defineObject({
id: 'mug',
@@ -21,7 +21,7 @@ export const mug = defineObject({
return {
onInited: () => {
yugeDispose = yuge(scene, root, new BABYLON.Vector3(0, 5/*cm*/, 0));
yugeDispose = yuge(scene, root, new BABYLON.Vector3(0, cm(5), 0));
},
interactions: {},
dispose: () => {