diff --git a/UnleashedRecomp/stdafx.h b/UnleashedRecomp/stdafx.h index 58644d49..4c553910 100644 --- a/UnleashedRecomp/stdafx.h +++ b/UnleashedRecomp/stdafx.h @@ -49,7 +49,6 @@ using Microsoft::WRL::ComPtr; #include #include #include -#include #include #include "framework.h" diff --git a/UnleashedRecomp/ui/options_menu.cpp b/UnleashedRecomp/ui/options_menu.cpp index 6266ca01..7520554c 100644 --- a/UnleashedRecomp/ui/options_menu.cpp +++ b/UnleashedRecomp/ui/options_menu.cpp @@ -157,7 +157,7 @@ static void DrawTitle() auto rectMoveMotion = ComputeMotion(g_appearTime, rectMoveMotionOffset, squareMoveDuration); auto rectEndMotion = ComputeMotion(g_appearTime, 0.0, squareMoveEndDuration); - auto rectBlinkMotion = sin(ComputeMotion(g_appearTime, squareMoveEndDuration + rectBlinkMotionOffset, squareBlinkDuration) * std::numbers::pi); + auto rectBlinkMotion = sin(ComputeMotion(g_appearTime, squareMoveEndDuration + rectBlinkMotionOffset, squareBlinkDuration) * M_PI); auto rectAlphaMotion = 1.0f; auto rectY = Scale(10); auto rectSize = Scale(32);