fix: change name to rad

This commit is contained in:
TrèsAbhi committed 2024-03-09 11:31:45 -06:00
1 parent ef7d1dcfb3
commit 265eff98bf
2 files changed
+2 -2

No files matched your search

@@ -10,7 +10,7 @@ import {
ModelTransformEventData,
modelTransformEvent,
} from '../../../../../../../core/blitzkrieg/modelTransform';
import { normalizeAngleRad } from '../../../../../../../core/math/normalizeAngleRad';
import { normalizeAngleRad } from '../../../../../../../core/math/normalizeAngleRAD';
import { useAwait } from '../../../../../../../hooks/useAwait';
import { useModel } from '../../../../../../../hooks/useModel';
import { mutateDuel, useDuel } from '../../../../../../../stores/duel';
+1 -1
View File
@@ -1,6 +1,6 @@
import { clamp } from 'lodash';
import { PitchLimits, YawLimits } from '../blitzkrieg/modelDefinitions';
import { normalizeAngleRad } from '../math/normalizeAngleRad';
import { normalizeAngleRad } from '../math/normalizeAngleRAD';
export function applyPitchYawLimits(
pitch: number, // rad