summaryrefslogtreecommitdiff
path: root/bullet.h
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-05-16 21:44:32 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2010-05-16 21:44:32 +0200
commita524cfdd2756ac945040ca9bed576fb2f68f8c9f (patch)
tree000874591e87ae5ce7f162214337b49bc1ba0e0b /bullet.h
Imported project.
Diffstat (limited to 'bullet.h')
-rw-r--r--bullet.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/bullet.h b/bullet.h
new file mode 100644
index 0000000..23a4a3f
--- /dev/null
+++ b/bullet.h
@@ -0,0 +1,20 @@
+#ifndef _BULLET_H_
+#define _BULLET_H_
+
+#include "vector.h"
+
+class Bullet {
+ public:
+ Vector3 pos;
+ Vector3 direction;
+ float radius;
+
+ Bullet();
+ Bullet(const Vector3& pos, const Vector3& direction, float radius);
+ Bullet(const Bullet& b);
+ ~Bullet();
+
+ Bullet& operator=(const Bullet& b);
+};
+
+#endif