From 265eff98bf41ad9caca3b6bea266a687bd2ef9e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Sat, 9 Mar 2024 11:31:45 -0600 Subject: [PATCH] fix: change name to rad --- .../tankopedia/[id]/components/Model/components/TankModel.tsx | 2 +- src/core/blitz/applyPitchYawLimits.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/tools/tankopedia/[id]/components/Model/components/TankModel.tsx b/src/app/tools/tankopedia/[id]/components/Model/components/TankModel.tsx index e5253be2e..84a7ac601 100644 --- a/src/app/tools/tankopedia/[id]/components/Model/components/TankModel.tsx +++ b/src/app/tools/tankopedia/[id]/components/Model/components/TankModel.tsx @@ -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'; diff --git a/src/core/blitz/applyPitchYawLimits.ts b/src/core/blitz/applyPitchYawLimits.ts index 7565ac3bf..06ca4421b 100644 --- a/src/core/blitz/applyPitchYawLimits.ts +++ b/src/core/blitz/applyPitchYawLimits.ts @@ -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