Commit ec80d25
authored
fix: use getPosASL for sector positions (#101)
Sector tracking used getPosATL which gives height relative to terrain,
inconsistent with the rest of the capture pipeline (captureLoop,
projectile tracking) which all use getPosASL. For accurate 3D rendering
without a heightmap, all recorded positions must be in the same absolute
coordinate system. Also fixes the example comment in handleCustomEvent.1 parent 69fae93 commit ec80d25
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments