feat: lod distance based model loading

This commit is contained in:
TrèsAbhi committed 2023-12-24 18:38:13 -06:00
1 parent 9a8c0399be
commit 99fb44633e
3 files changed
+54 -31

No files matched your search

+1 -1
View File
@@ -518,7 +518,7 @@ if (allTargets || targets?.includes('tankModels')) {
const nationVehicleId = tank.id;
const id = (nationVehicleId << 8) + (NATION_IDS[nation] << 4) + 1;
if (id !== 5137) continue;
if (id !== 6225) continue;
console.log(`Building model ${id} @ ${nation}/${tankIndex}`);
const parameters = await readYAMLDVPL<TankParameters>(