CFluidPlaneCPU: Convert define into a typed constant

Same behavior, less preprocessor.
This commit is contained in:
Lioncash 2020-05-12 16:59:57 -04:00
parent 75494a501a
commit fd2f2e146c
1 changed files with 2 additions and 2 deletions

View File

@ -10,9 +10,9 @@
#include "TCastTo.hpp" // Generated file, do not modify include path
#define kTableSize 2048
namespace urde {
constexpr u32 kTableSize = 2048;
CFluidPlaneCPU::CTurbulence::CTurbulence(float speed, float distance, float freqMax, float freqMin, float phaseMax,
float phaseMin, float amplitudeMax, float amplitudeMin)
: x0_speed(speed)