]> git.localhorst.tv Git - space.git/blobdiff - src/world/Sector.cpp
some cleanup
[space.git] / src / world / Sector.cpp
diff --git a/src/world/Sector.cpp b/src/world/Sector.cpp
deleted file mode 100644 (file)
index 781f23d..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#include "Sector.h"
-
-#include <cstring>
-
-
-namespace space {
-
-Sector::Sector(Vector<int> size, int numres)
-: size(size)
-, numres(numres)
-, total(size.x * size.y * numres)
-, res_begin(new int[total])
-, res_end(res_begin + total) {
-       std::memset(res_begin, 0, total * sizeof(int));
-}
-
-Sector::~Sector() {
-       delete[] res_begin;
-}
-
-}