mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
wip
This commit is contained in:
parent
cb6c790d6c
commit
909f78b33c
4 changed files with 18 additions and 1 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue