diff --git a/packages/frontend/assets/room/objects/twisted-cube-objet/twisted-cube-objet.blend b/packages/frontend/assets/room/objects/twisted-cube-objet/twisted-cube-objet.blend new file mode 100644 index 0000000000..575cac592f Binary files /dev/null and b/packages/frontend/assets/room/objects/twisted-cube-objet/twisted-cube-objet.blend differ diff --git a/packages/frontend/assets/room/objects/twisted-cube-objet/twisted-cube-objet.glb b/packages/frontend/assets/room/objects/twisted-cube-objet/twisted-cube-objet.glb new file mode 100644 index 0000000000..065744c4fb Binary files /dev/null and b/packages/frontend/assets/room/objects/twisted-cube-objet/twisted-cube-objet.glb differ diff --git a/packages/frontend/src/utility/room/object-defs.ts b/packages/frontend/src/utility/room/object-defs.ts index b054928069..9354cd6d1e 100644 --- a/packages/frontend/src/utility/room/object-defs.ts +++ b/packages/frontend/src/utility/room/object-defs.ts @@ -74,6 +74,7 @@ import { tabletopPictureFrame } from './objects/tabletopPictureFrame.js'; import { tapestry } from './objects/tapestry.js'; import { tetrapod } from './objects/tetrapod.js'; import { tv } from './objects/tv.js'; +import { twistedCubeObjet } from './objects/twistedCubeObjet.js'; import { usedTissue } from './objects/usedTissue.js'; import { wallCanvas } from './objects/wallCanvas.js'; import { wallClock } from './objects/wallClock.js'; @@ -153,6 +154,7 @@ export const OBJECT_DEFS = [ tapestry, tetrapod, tv, + twistedCubeObjet, usedTissue, wallCanvas, wallClock, diff --git a/packages/frontend/src/utility/room/objects/twistedCubeObjet.ts b/packages/frontend/src/utility/room/objects/twistedCubeObjet.ts new file mode 100644 index 0000000000..937ca1afa4 --- /dev/null +++ b/packages/frontend/src/utility/room/objects/twistedCubeObjet.ts @@ -0,0 +1,21 @@ +/* + * SPDX-FileCopyrightText: syuilo and misskey-project + * SPDX-License-Identifier: AGPL-3.0-only + */ + +import { defineObject } from '../engine.js'; + +export const twistedCubeObjet = defineObject({ + id: 'twistedCubeObjet', + name: 'twistedCubeObjet', + options: { + schema: {}, + default: {}, + }, + placement: 'top', + createInstance: () => { + return { + interactions: {}, + }; + }, +});