feat: async updates

This commit is contained in:
TrèsAbhi committed 2024-01-13 18:24:04 -06:00
1 parent 5e0e80e965
commit 237f676af8
9 files changed
+248 -304

No files matched your search

+4 -6
View File
@@ -29,9 +29,8 @@ type Tankopedia = {
};
model: {
physical: {
hullYaw: number;
turretYaw: number;
gunPitch: number;
yaw: number;
pitch: number;
};
visual: {
controlsEnabled: boolean;
@@ -74,9 +73,8 @@ export const useTankopedia = create<Tankopedia>()(
},
model: {
physical: {
gunPitch: 0,
hullYaw: 0,
turretYaw: 0,
yaw: 0,
pitch: 0,
},
visual: {
controlsEnabled: true,