mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
feat: armor modes
This commit is contained in:
1 parent
ffa1395b50
commit
f1410cf321
42 files changed
+293
-264
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import { equipmentDefinitions } from '@blitzkit/core';
|
||||
import { useMemo } from 'react';
|
||||
import * as Duel from '../stores/duel';
|
||||
import { Duel } from '../stores/duel';
|
||||
|
||||
const awaitedEquipmentDefinitions = await equipmentDefinitions;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import * as TankopediaEphemeral from '../stores/tankopediaEphemeral';
|
||||
import { TankopediaEphemeral } from '../stores/tankopediaEphemeral';
|
||||
|
||||
export function useTankModelDefinition() {
|
||||
return TankopediaEphemeral.use((state) => state.model);
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import { I_HAT, J_HAT, K_HAT } from '@blitzkit/core';
|
||||
import { type RefObject, useEffect } from 'react';
|
||||
import { Euler, Group, Vector3 } from 'three';
|
||||
import { degToRad } from 'three/src/math/MathUtils';
|
||||
import { degToRad } from 'three/src/math/MathUtils.js';
|
||||
import { correctZYTuple } from '../core/blitz/correctZYTuple';
|
||||
import {
|
||||
ModelTransformEventData,
|
||||
type ModelTransformEventData,
|
||||
modelTransformEvent,
|
||||
} from '../core/blitzkit/modelTransform';
|
||||
import { DuelMember } from '../stores/duel';
|
||||
import type { DuelMember } from '../stores/duel';
|
||||
import { useTankModelDefinition } from './useTankModelDefinition';
|
||||
|
||||
export function useTankTransform(
|
||||
|
||||
Reference in new issue
Block a user