mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 00:02:25 +00:00
Merge branch 'german/refactor-e10-layers-without-viewer' into german/navara-refactor
# Conflicts: # scripts/package-boundaries.json
This commit is contained in:
commit
d51e4140b7
45 files changed
+662
-468
No files matched your search
@@ -15,6 +15,20 @@ const handle = (engine, area, factory, mutate) =>
|
||||
});
|
||||
|
||||
const mutants = [
|
||||
[
|
||||
'field of view changes are ignored',
|
||||
'camera.setFovy: changes projection',
|
||||
(e) => { e.camera.setFovy = () => {}; },
|
||||
],
|
||||
[
|
||||
'optical fields below one degree are ignored',
|
||||
'camera.setFovy: changes projection',
|
||||
(e) => {
|
||||
replace(e.camera, 'setFovy', (set) => (radians) => {
|
||||
if (radians >= Math.PI / 180) set(radians);
|
||||
});
|
||||
},
|
||||
],
|
||||
[
|
||||
'retarget omits followChanged',
|
||||
'camera.following: set, retarget',
|
||||
|
||||
Reference in new issue
Block a user