normalize includes: zone

This commit is contained in:
brainiac
2025-12-18 00:59:27 -08:00
committed by Alex
parent 552a908f92
commit 7fe49b5630
278 changed files with 2431 additions and 2901 deletions
+4 -5
View File
@@ -1,9 +1,8 @@
#if defined(_MSC_VER)
#define _USE_MATH_DEFINES
#endif
#include <cmath>
#include "fastmath.h"
#include <numbers>
FastMath g_Math;
// This should match EQ's sin/cos LUTs
@@ -14,7 +13,7 @@ FastMath::FastMath()
int si = 128;
float res;
do {
res = std::cos(static_cast<float>(ci) * M_PI * 2 / 512);
res = std::cos(static_cast<float>(ci) * std::numbers::pi * 2 / 512);
lut_cos[ci] = res;
if (si == 512)
si = 0;