]> git.treefish.org Git - seamulator.git/blobdiff - sea.cpp
Changed directory structure
[seamulator.git] / sea.cpp
diff --git a/sea.cpp b/sea.cpp
deleted file mode 100644 (file)
index 37a6cd6..0000000
--- a/sea.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
-#include "sea.h"
-
-#include <cstdlib>
-
-Sea::Sea(WaterSurface& surface) : m_surface{surface}
-{
-}
-
-void Sea::update()
-{
-  for (int y = 0; y < m_surface.size(); ++y) {
-    for (int x = 0; x < m_surface.size(); ++x) {
-      m_surface.at(x, y)
-       .setHeight(((double)std::rand()/(double)RAND_MAX));
-    }
-  }
-}