Skip to content

Commit 6293e35

Browse files
Benjozorkflogross89
authored andcommitted
perf(oans): reduce VRAM usage (#10378)
* perf(oans): reduce render scale of some layers * build: upgrade turf to v7 * feat(oans): add union and simplification of features to fix some artifacts * feat(oans): combine more layers * fix: turf types and imports * chore: remove unneeded ts-strict-ignore markers * fix: another import * chore: revert unintended change * doc: specify units of `simplify` (cherry picked from commit 0405b3a)
1 parent fa08d31 commit 6293e35

21 files changed

+1633
-1319
lines changed

fbw-a380x/src/systems/instruments/src/ND/OansControlPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ import { Coordinates, distanceTo, placeBearingDistance } from 'msfs-geo';
5959
import { AdirsSimVars } from 'instruments/src/MsfsAvionicsCommon/SimVarTypes';
6060
import { InternalKccuKeyEvent } from 'instruments/src/MFD/shared/MFDSimvarPublisher';
6161
import { NDSimvars } from 'instruments/src/ND/NDSimvarPublisher';
62-
import { Feature, Geometry, LineString, Point, Position } from '@turf/turf';
62+
import { Feature, Geometry, LineString, Point, Position } from 'geojson';
6363
import { NavigationDatabaseService } from '@fmgc/flightplanning/NavigationDatabaseService';
6464
import { NavigationDatabase, NavigationDatabaseBackend } from '@fmgc/NavigationDatabase';
6565
import { ResetPanelSimvars } from 'instruments/src/MsfsAvionicsCommon/providers/ResetPanelPublisher';

fbw-a380x/src/systems/systems-host/PseudoPRIM/BrakeToVacateDistanceUpdater.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
} from '@flybywiresim/fbw-sdk';
1212
import { Arinc429Register, Arinc429SignStatusMatrix, MathUtils } from '@flybywiresim/fbw-sdk';
1313
import { placeBearingDistance } from 'msfs-geo';
14-
import { Position } from '@turf/turf';
14+
import { Position } from 'geojson';
1515
import { NavigationDatabaseService } from '@fmgc/flightplanning/NavigationDatabaseService';
1616
import { NavigationDatabase, NavigationDatabaseBackend } from '@fmgc/NavigationDatabase';
1717
import { OansFmsDataStore } from '@flybywiresim/fbw-sdk';

0 commit comments

Comments
 (0)