]> git.treefish.org Git - seamulator.git/blobdiff - src/seamulator.cpp
Pass wind speed and magic constant via sea constructor
[seamulator.git] / src / seamulator.cpp
index c5f7936c652c9aed72afb23747476b15b6a9b457..92dfac608d383a97c9b345729d44e3990c3a4bc8 100644 (file)
@@ -33,7 +33,7 @@ int main(int argc, char** argv)
   std::srand(std::time(0));
 
   surface = std::make_shared<WaterSurface>(LATTICE_SIZE, LATTICE_EXTEND);
-  sea = std::make_shared<Sea>(surface);
+  sea = std::make_shared<Sea>(surface, 10, 0.0000001);
   seaView = std::make_unique<SeaView>(INIT_VIEW_DISTANCE, INIT_VIEW_AZIMUTH,
                                      INIT_VIEW_ALTITUDE);