Web worker mode
Misskey Room runs inside a Web Worker.
For that reason, I designed a new, clean camera input that does not depend on the DOM.
It is a simple class that only receives movement and rotation vectors from the outside and applies them.
I also implemented my own joystick for touch control.
Everything runs within a Web Worker!