Code-style consistency improvement:

Apply clang-format-all.sh using the _clang-format file through all the cpp/.h files.
make sure not to apply it to certain serialization structures, since some parser expects the * as part of the name, instead of type.
This commit contains no other changes aside from adding and applying clang-format-all.sh
This commit is contained in:
erwincoumans
2018-09-23 14:17:31 -07:00
parent b73b05e9fb
commit ab8f16961e
1773 changed files with 1081087 additions and 474249 deletions

View File

@@ -3,7 +3,6 @@
class b3SoundSource;
class b3AudioListener
{
struct b3AudioListenerInternalData* m_data;
@@ -11,9 +10,9 @@ class b3AudioListener
public:
b3AudioListener();
virtual ~b3AudioListener();
static int tick(void *outputBuffer, void *inputBuffer1, unsigned int nBufferFrames,
double streamTime, unsigned int status, void *dataPointer);
static int tick(void* outputBuffer, void* inputBuffer1, unsigned int nBufferFrames,
double streamTime, unsigned int status, void* dataPointer);
int addSoundSource(b3SoundSource* source);
void removeSoundSource(b3SoundSource* source);
@@ -23,7 +22,6 @@ public:
double getSampleRate() const;
void setSampleRate(double sampleRate);
};
};
#endif //B3_AUDIO_LISTENER_H
#endif //B3_AUDIO_LISTENER_H