feat: armor modes

This commit is contained in:
TrèsAbhi committed 2024-09-22 21:12:18 -05:00
1 parent ffa1395b50
commit f1410cf321
42 files changed
+293 -264

No files matched your search

@@ -1,6 +1,10 @@
import { normalizeAngleRad, PitchLimits, YawLimits } from '@blitzkit/core';
import {
normalizeAngleRad,
type PitchLimits,
type YawLimits,
} from '@blitzkit/core';
import { clamp } from 'lodash-es';
import { degToRad } from 'three/src/math/MathUtils';
import { degToRad } from 'three/src/math/MathUtils.js';
export function applyPitchYawLimits(
pitch: number, // rad