aboutsummaryrefslogtreecommitdiff
path: root/KaplaDemo/samples/sampleViewer3/Fracture/CompoundCreator.h
diff options
context:
space:
mode:
Diffstat (limited to 'KaplaDemo/samples/sampleViewer3/Fracture/CompoundCreator.h')
-rw-r--r--KaplaDemo/samples/sampleViewer3/Fracture/CompoundCreator.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/KaplaDemo/samples/sampleViewer3/Fracture/CompoundCreator.h b/KaplaDemo/samples/sampleViewer3/Fracture/CompoundCreator.h
new file mode 100644
index 00000000..92bf17a2
--- /dev/null
+++ b/KaplaDemo/samples/sampleViewer3/Fracture/CompoundCreator.h
@@ -0,0 +1,23 @@
+#ifndef COMPOUND_CREATOR_H
+#define COMPOUND_CREATOR_H
+
+// Matthias M�ller-Fischer
+
+#include <foundation/PxVec3.h>
+#include <foundation/PxTransform.h>
+#include <PsArray.h>
+
+#include "CompoundCreatorBase.h"
+
+using namespace physx::fracture;
+
+class CompoundCreator : public base::CompoundCreator
+{
+ friend class SimScene;
+public:
+ virtual void debugDraw();
+protected:
+ CompoundCreator(SimScene* scene): base::CompoundCreator((base::SimScene*)scene) {}
+};
+
+#endif