]> git.treefish.org Git - seamulator.git/blobdiff - include/sea.h
Modified command line options
[seamulator.git] / include / sea.h
index 798b92d138eb68f7a9719f6461ad369af8616cf7..01f8c92307c34b5460fac96564b46ba0f0ccc55c 100644 (file)
 class Sea
 {
  public:
 class Sea
 {
  public:
-  Sea(WaterSurfacePtr surface);
+  Sea(WaterSurfacePtr surface, double windSpeed, double magicConstant);
   ~Sea();
   Sea(const Sea&) = delete;
   Sea& operator=(const Sea&) = delete;
   void update();
 
  private:
   ~Sea();
   Sea(const Sea&) = delete;
   Sea& operator=(const Sea&) = delete;
   void update();
 
  private:
-  static const double PHILLIPS_CONSTANT;
   static const double GRAVITATIONAL_CONSTANT;
 
   WaterSurfacePtr m_surface;
   double m_windDirection[2];
   double m_windSpeed;
   static const double GRAVITATIONAL_CONSTANT;
 
   WaterSurfacePtr m_surface;
   double m_windDirection[2];
   double m_windSpeed;
+  double m_magicConstant;
   std::random_device m_randomDevice;
   std::mt19937 m_randomGenerator;
   std::normal_distribution<> m_normalDistribution;
   std::random_device m_randomDevice;
   std::mt19937 m_randomGenerator;
   std::normal_distribution<> m_normalDistribution;