Skip to content

Commit

Permalink
fix: change some naming.
Browse files Browse the repository at this point in the history
  • Loading branch information
Force67 committed Jan 24, 2022
1 parent f4a9156 commit fb876c0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Code/client/Games/Skyrim/Interface/Menus/HUDMenuUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ namespace HUDMenuUtils
static float (*CameraWorldToCam)[4][4] = nullptr;
static const NiRect<float>* CameraPort = nullptr;

bool WorldPtToScreenPt3(const NiPoint3& arWorldPt, NiPoint3& arScreenPt)
bool WorldPtToScreenPt3(const NiPoint3& aWorldPt, NiPoint3& aScreenPt)
{
return NiCamera::WorldPtToScreenPt3(reinterpret_cast<float*>(CameraWorldToCam), CameraPort, &arWorldPt,
&arScreenPt.x, &arScreenPt.y, &arScreenPt.z, 1e-5f);
return NiCamera::WorldPtToScreenPt3(reinterpret_cast<float*>(CameraWorldToCam), CameraPort, &aWorldPt, &aScreenPt.x,
&aScreenPt.y, &aScreenPt.z, 1e-5f);
}
} // namespace HUDMenuUtils

Expand Down
2 changes: 1 addition & 1 deletion Code/client/Games/Skyrim/Interface/Menus/HUDMenuUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

namespace HUDMenuUtils
{
bool WorldPtToScreenPt3(const NiPoint3& arWorldPt, NiPoint3& arScreenPt);
bool WorldPtToScreenPt3(const NiPoint3& aWorldPt, NiPoint3& aScreenPt);
}
2 changes: 1 addition & 1 deletion Code/client/Services/Debug/TestService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ void TestService::OnDraw() noexcept
if (ImGui::BeginMenu("Components"))
{
ImGui::MenuItem("Show component list", nullptr, &m_toggleComponentWindow);
ImGui::MenuItem("Show selected component in world", nullptr, &m_drawComponentsInWorldSpace);
ImGui::MenuItem("Show selected entity in world", nullptr, &m_drawComponentsInWorldSpace);
ImGui::EndMenu();
}
if (ImGui::BeginMenu("Containers"))
Expand Down
2 changes: 1 addition & 1 deletion Code/components/console/Setting.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For licensing information see LICENSE at the root of this distribution.
#pragma once

#include <Base/Check.h>
#include <base/Check.h>
#include <TiltedCore/Stl.hpp>

namespace console
Expand Down

0 comments on commit fb876c0

Please sign in to comment.