This commit is contained in:
syuilo
2026-02-12 21:16:47 +09:00
parent cb6c790d6c
commit 909f78b33c
4 changed files with 18 additions and 1 deletions

View File

@@ -249,6 +249,24 @@ const OBJECTS = {
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>;
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;
}
const _assumedFramesPerSecond = 60;
class HorizontalCameraKeyboardMoveInput extends BABYLON.BaseCameraPointersInput {
public camera: BABYLON.FreeCamera;