mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-22 05:49:01 -04:00
some f_op
This commit is contained in:
@@ -3,4 +3,30 @@
|
||||
|
||||
#include "dolphin/types.h"
|
||||
|
||||
namespace Z2Calc {
|
||||
enum CurveSign {
|
||||
CURVE_SIGN_0 = 0,
|
||||
CURVE_SIGN_1 = 1,
|
||||
};
|
||||
|
||||
struct FNoise1f {
|
||||
void setParam(float, float, float);
|
||||
float tau(float);
|
||||
float calcNoise1f();
|
||||
|
||||
float unk0;
|
||||
float unk4;
|
||||
float unk8;
|
||||
float unk12;
|
||||
};
|
||||
|
||||
float linearTransform(float, float, float, float, float, bool);
|
||||
float getParamByExp(float, float, float, float, float, float, Z2Calc::CurveSign);
|
||||
float getRandom(float, float, float);
|
||||
float getRandom_0_1(void);
|
||||
|
||||
extern f32 cEqualCSlope;
|
||||
extern f32 cEqualPSlope;
|
||||
} // namespace Z2Calc
|
||||
|
||||
#endif /* Z2CALC_H */
|
||||
|
||||
Reference in New Issue
Block a user