Files
tp/include/JSystem/JAudio2/JAIAudible.h
T

25 lines
481 B
C++
Raw Normal View History

2021-03-28 22:49:05 +02:00
#ifndef JAIAUDIBLE_H
#define JAIAUDIBLE_H
2023-07-18 22:57:25 -07:00
#include "JSystem/JGeometry.h"
2023-05-12 12:10:14 -07:00
struct JASSoundParams;
2024-04-12 00:10:30 -06:00
/**
* @ingroup jsystem-jaudio
*
*/
2023-07-18 22:57:25 -07:00
class JAIAudible {
public:
2021-09-30 07:13:49 -07:00
virtual ~JAIAudible();
2022-12-30 16:19:57 -07:00
virtual JASSoundParams* getOuterParams(int) = 0;
2021-09-30 07:13:49 -07:00
virtual void calc() = 0;
2023-07-18 22:57:25 -07:00
JGeometry::TVec3<float>& getPos() { return mPos; }
void setPos(const JGeometry::TVec3<float>& other) { mPos.set(other); }
/* 0x04 */ JGeometry::TVec3<float> mPos;
2021-09-30 07:13:49 -07:00
};
2021-03-28 22:49:05 +02:00
#endif /* JAIAUDIBLE_H */