feat: migrated tankopedia search

This commit is contained in:
TrèsAbhi committed 2024-09-06 22:05:06 -05:00
1 parent 73c7bdf0c0
commit e1c8194beb
59 files changed
+146 -131

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
export const TREE_TYPES = ['researchable', 'premium', 'collector'] as const;
export const TANK_CLASSES = [
'lightTank',
'mediumTank',
'heavyTank',
'AT-SPG',
] as const;
+2
View File
@@ -1 +1,3 @@
export * from './constants';
export * from './idToRegion';
export * from './resolveNearPenetration';
@@ -0,0 +1,5 @@
import { Vector2Tuple } from 'three';
export function resolveNearPenetration(penetration: number | Vector2Tuple) {
return typeof penetration === 'number' ? penetration : penetration[0];
}