From c40a1a9b028c728bc2a8a1d9eeb9eee7d10df7a6 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Thu, 20 May 2010 22:24:21 +0200 Subject: Removed bullet.{h,cpp}. --- bullet.cpp | 26 -------------------------- bullet.h | 20 -------------------- 2 files changed, 46 deletions(-) delete mode 100644 bullet.cpp delete mode 100644 bullet.h diff --git a/bullet.cpp b/bullet.cpp deleted file mode 100644 index b7df9fb..0000000 --- a/bullet.cpp +++ /dev/null @@ -1,26 +0,0 @@ -#include "bullet.h" - -Bullet::Bullet() { -} - -Bullet::Bullet(const Vector3& pos, const Vector3& direction, float radius) { - this->pos = pos; - this->direction = direction; - this->radius = radius; -} - -Bullet::Bullet(const Bullet& b) { - pos = b.pos; - direction = b.direction; - radius = b.radius; -} - -Bullet& Bullet::operator=(const Bullet& b) { - pos = b.pos; - direction = b.direction; - radius = b.radius; - return *this; -} - -Bullet::~Bullet() { -} diff --git a/bullet.h b/bullet.h deleted file mode 100644 index 23a4a3f..0000000 --- a/bullet.h +++ /dev/null @@ -1,20 +0,0 @@ -#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 -- cgit v1.2.3