Files
tww/include/JSystem/JAudio/JASInstRand.h
T
2026-09-06 18:43:18 -04:00

25 lines
506 B
C++

#ifndef JASINSTRAND_H
#define JASINSTRAND_H
#include "JSystem/JAudio/JASInstEffect.h"
namespace JASystem {
class TInstRand : public TInstEffect {
public:
TInstRand() {
mBase = 1.0f;
mWidth = 0.0f;
}
virtual f32 getY(int, int) const;
void setBase(f32 base) { mBase = base; }
void setWidth(f32 width) { mWidth = width; }
private:
/* 0x08 */ f32 mBase;
/* 0x0C */ f32 mWidth;
};
}
#endif /* JASINSTRAND_H */