mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Make quality settings detail only and fold ctrl-wheel zoom into the camera's zoom inputs
Quality no longer switches clouds or water (their ports are gone) and its atmosphere and post-processing settings are low or high detail; whether the sky or a pass shows stays with globe.sky and effects. The separate input.ctrlWheelZoom switch is gone: 'ctrlWheel' in the camera's zoomInputs also relays trackpad pinches, which the application turns on.
This commit is contained in:
1 parent
46cdeba7fa
commit
7a376ebefc
15 files changed
+87
-114
No files matched your search
Vendored
+5
-1
@@ -195,7 +195,11 @@ export interface CameraControls {
|
||||
zoomFactor: number;
|
||||
/** Pitch the user may tilt between, radians (−π/2 straight down). */
|
||||
pitchRange: [min: number, max: number];
|
||||
/** Input bindings that zoom. */
|
||||
/**
|
||||
* Input bindings that zoom. `ctrlWheel`: Ctrl+wheel, and a trackpad
|
||||
* pinch (which browsers send as Ctrl+wheel), zoom the globe rather than
|
||||
* the page.
|
||||
*/
|
||||
zoomInputs: Array<'wheel' | 'pinch' | 'rightDrag' | 'ctrlWheel'>;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user