mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-06 22:44:22 +02:00
wip
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -33,6 +33,11 @@ onMounted(() => {
|
|||||||
position: [120, 0, 50],
|
position: [120, 0, 50],
|
||||||
rotation: [0, 0.2, 0],
|
rotation: [0, 0.2, 0],
|
||||||
variation: 'mikan',
|
variation: 'mikan',
|
||||||
|
}, {
|
||||||
|
id: 'a2',
|
||||||
|
type: 'opened-cardboard-box',
|
||||||
|
position: [115, 0, -20],
|
||||||
|
rotation: [0, -0.1, 0],
|
||||||
}, {
|
}, {
|
||||||
id: 'b',
|
id: 'b',
|
||||||
type: 'cardboard-box',
|
type: 'cardboard-box',
|
||||||
|
|||||||
@@ -186,6 +186,9 @@ const OBJECTS = {
|
|||||||
'tv': {
|
'tv': {
|
||||||
placement: 'top',
|
placement: 'top',
|
||||||
},
|
},
|
||||||
|
'opened-cardboard-box': {
|
||||||
|
placement: 'top',
|
||||||
|
},
|
||||||
} as Record<string, ObjectDef>;
|
} as Record<string, ObjectDef>;
|
||||||
|
|
||||||
function vecToLocal(vector: BABYLON.Vector3, mesh: BABYLON.Mesh): BABYLON.Vector3 {
|
function vecToLocal(vector: BABYLON.Vector3, mesh: BABYLON.Mesh): BABYLON.Vector3 {
|
||||||
|
|||||||
Reference in New Issue
Block a user