mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-07 03:24:15 +02:00
wip
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -249,6 +249,24 @@ const OBJECTS = {
|
|||||||
ps.start();
|
ps.start();
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
desk: {
|
||||||
|
placement: 'top',
|
||||||
|
},
|
||||||
|
chair: {
|
||||||
|
placement: 'top',
|
||||||
|
},
|
||||||
|
'banknote': {
|
||||||
|
placement: 'top',
|
||||||
|
},
|
||||||
|
'facial-tissue': {
|
||||||
|
placement: 'top',
|
||||||
|
},
|
||||||
|
'milk': {
|
||||||
|
placement: 'top',
|
||||||
|
},
|
||||||
|
'monitor': {
|
||||||
|
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 {
|
||||||
@@ -257,7 +275,6 @@ function vecToLocal(vector: BABYLON.Vector3, mesh: BABYLON.Mesh): BABYLON.Vector
|
|||||||
return v;
|
return v;
|
||||||
}
|
}
|
||||||
|
|
||||||
const _assumedFramesPerSecond = 60;
|
|
||||||
|
|
||||||
class HorizontalCameraKeyboardMoveInput extends BABYLON.BaseCameraPointersInput {
|
class HorizontalCameraKeyboardMoveInput extends BABYLON.BaseCameraPointersInput {
|
||||||
public camera: BABYLON.FreeCamera;
|
public camera: BABYLON.FreeCamera;
|
||||||
|
|||||||
Reference in New Issue
Block a user