mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 20:19:49 +02:00
feat: migrated tankopedia search
This commit is contained in:
1 parent
73c7bdf0c0
commit
e1c8194beb
59 files changed
+146
-131
No files matched your search
@@ -0,0 +1,8 @@
|
||||
export const TREE_TYPES = ['researchable', 'premium', 'collector'] as const;
|
||||
|
||||
export const TANK_CLASSES = [
|
||||
'lightTank',
|
||||
'mediumTank',
|
||||
'heavyTank',
|
||||
'AT-SPG',
|
||||
] as const;
|
||||
@@ -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];
|
||||
}
|
||||
Reference in new issue
Block a user