mirror of https://github.com/AxioDL/metaforce.git
CFluidPlaneCPU: Convert define into a typed constant
Same behavior, less preprocessor.
This commit is contained in:
parent
75494a501a
commit
fd2f2e146c
|
@ -10,9 +10,9 @@
|
||||||
|
|
||||||
#include "TCastTo.hpp" // Generated file, do not modify include path
|
#include "TCastTo.hpp" // Generated file, do not modify include path
|
||||||
|
|
||||||
#define kTableSize 2048
|
|
||||||
|
|
||||||
namespace urde {
|
namespace urde {
|
||||||
|
constexpr u32 kTableSize = 2048;
|
||||||
|
|
||||||
CFluidPlaneCPU::CTurbulence::CTurbulence(float speed, float distance, float freqMax, float freqMin, float phaseMax,
|
CFluidPlaneCPU::CTurbulence::CTurbulence(float speed, float distance, float freqMax, float freqMin, float phaseMax,
|
||||||
float phaseMin, float amplitudeMax, float amplitudeMin)
|
float phaseMin, float amplitudeMax, float amplitudeMin)
|
||||||
: x0_speed(speed)
|
: x0_speed(speed)
|
||||||
|
|
Loading…
Reference in New Issue