Owns the perspective ↔ orthographic camera-swap policy and the
wiring of the swap into the control-type setter. SceneManager
keeps the public setControlType() method (so the
camera-changed event dispatches at the class call site — helpers
never dispatch on the host's event channel) but delegates the body
to setControlType() here.
The host owns the camera field; the ctx exposes a
getCamera() / setCamera() pair so helpers can read/replace it
across the swap without taking a back-pointer to SceneManager.
Camera-mode helpers extracted from SceneManager.
Owns the perspective ↔ orthographic camera-swap policy and the wiring of the swap into the control-type setter. SceneManager keeps the public
setControlType()method (so thecamera-changedevent dispatches at the class call site — helpers never dispatch on the host's event channel) but delegates the body tosetControlType()here.The host owns the
camerafield; the ctx exposes agetCamera() / setCamera()pair so helpers can read/replace it across the swap without taking a back-pointer to SceneManager.