feat: gun & turret origins

This commit is contained in:
TrèsAbhi committed 2023-12-31 19:26:08 -06:00
1 parent b433129354
commit 28dde23115
3 files changed
+54 -41

No files matched your search

+3
View File
@@ -1,4 +1,5 @@
import { deburr } from 'lodash';
import { Vector3Tuple } from 'three';
import { TankType, TreeTypeString } from '../../components/Tanks';
import { asset } from './asset';
@@ -9,6 +10,7 @@ export interface TankDefinition {
id: number;
nation: string;
name: string;
turretOrigin: Vector3Tuple;
tree_type: TreeTypeString;
tier: Tier;
type: TankType;
@@ -25,6 +27,7 @@ export interface TurretDefinition {
name: string;
tier: Tier;
yaw?: [number, number];
gunOrigin: Vector3Tuple;
guns: GunDefinition[];
}
export type GunDefinition = GunDefinitionBase &