mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-27 12:51:42 +00:00
Replace use of std::numbers::pi with M_PI.
This commit is contained in:
parent
86c48c264f
commit
9fa20ec678
2 changed files with 1 additions and 2 deletions
|
|
@ -49,7 +49,6 @@ using Microsoft::WRL::ComPtr;
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <semaphore>
|
#include <semaphore>
|
||||||
#include <numeric>
|
#include <numeric>
|
||||||
#include <numbers>
|
|
||||||
#include <charconv>
|
#include <charconv>
|
||||||
|
|
||||||
#include "framework.h"
|
#include "framework.h"
|
||||||
|
|
|
||||||
|
|
@ -157,7 +157,7 @@ static void DrawTitle()
|
||||||
|
|
||||||
auto rectMoveMotion = ComputeMotion(g_appearTime, rectMoveMotionOffset, squareMoveDuration);
|
auto rectMoveMotion = ComputeMotion(g_appearTime, rectMoveMotionOffset, squareMoveDuration);
|
||||||
auto rectEndMotion = ComputeMotion(g_appearTime, 0.0, squareMoveEndDuration);
|
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 rectAlphaMotion = 1.0f;
|
||||||
auto rectY = Scale(10);
|
auto rectY = Scale(10);
|
||||||
auto rectSize = Scale(32);
|
auto rectSize = Scale(32);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue