some f_op

This commit is contained in:
lepelog
2021-04-09 01:22:16 +02:00
parent 922aa90df7
commit 442764cf68
104 changed files with 1182 additions and 1895 deletions
+26
View File
@@ -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 */