mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 07:04:36 +00:00
update bullet so it actually works
Moved the addSourceDirectory for physics/Bullet into the Engine/Source/CMakeLists.txt file that way it can actually appear where we expect it to in the solution explorer.
This commit is contained in:
parent
c7be48130a
commit
13fa178cf6
5986 changed files with 1811270 additions and 453803 deletions
29
Engine/lib/bullet/examples/TinyAudio/b3WriteWavFile.h
Normal file
29
Engine/lib/bullet/examples/TinyAudio/b3WriteWavFile.h
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
#ifndef B3_WRITE_WAV_FILE_H
|
||||
#define B3_WRITE_WAV_FILE_H
|
||||
|
||||
// b3WriteWavFile is copied from Stk::FileWvOut/FileWrite
|
||||
// See also https://github.com/thestk/stk
|
||||
// by Perry R. Cook and Gary P. Scavone, 1995--2014.
|
||||
#include <string>
|
||||
|
||||
class b3WriteWavFile
|
||||
{
|
||||
void incrementFrame(void);
|
||||
void flush();
|
||||
|
||||
struct b3WriteWavFileInternalData* m_data;
|
||||
|
||||
void flushData(int bufferSize);
|
||||
|
||||
public:
|
||||
b3WriteWavFile();
|
||||
virtual ~b3WriteWavFile();
|
||||
|
||||
bool setWavFile(std::string fileName, int sampleRate, int numChannels, bool useDoublePrecision = true);
|
||||
|
||||
void closeWavFile();
|
||||
|
||||
void tick(double* values, int numValues);
|
||||
};
|
||||
|
||||
#endif //B3_WRITE_WAV_FILE_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue