diff options
| author | sotech117 <michael_foiani@brown.edu> | 2024-05-09 19:36:42 -0400 |
|---|---|---|
| committer | sotech117 <michael_foiani@brown.edu> | 2024-05-09 19:36:42 -0400 |
| commit | 14684344d553dee4b3cc252709716bff927e85b8 (patch) | |
| tree | f21306907f47f72dd9fa1bc9f57e0b5b07e76176 /src/ocean | |
| parent | 8d8b4357299718d7c26aed0cf5221e15156e8b86 (diff) | |
change viewport
Diffstat (limited to 'src/ocean')
| -rw-r--r-- | src/ocean/ocean_alt.cpp | 2 | ||||
| -rw-r--r-- | src/ocean/ocean_alt.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ocean/ocean_alt.cpp b/src/ocean/ocean_alt.cpp index 6355abd..6636e62 100644 --- a/src/ocean/ocean_alt.cpp +++ b/src/ocean/ocean_alt.cpp @@ -312,7 +312,7 @@ void ocean_alt::update_ocean() // NEW Eigen::Vector3f norm = Eigen::Vector3f(-m_slopes_x[i][0], 1.0, -m_slopes_z[i][0]); - norm = -norm.normalized(); // FIXME: why do I have to be inverted? + norm = norm.normalized(); // FIXME: why do I have to be inverted? //if (i==6) std::cout << amplitude[0] << std::endl; diff --git a/src/ocean/ocean_alt.h b/src/ocean/ocean_alt.h index fa42d75..bf37b11 100644 --- a/src/ocean/ocean_alt.h +++ b/src/ocean/ocean_alt.h @@ -58,7 +58,7 @@ private: const int num_cols = 256; const int num_tiles_x = 1; - const int num_tiles_z = 1; + const int num_tiles_z = 2; const double vertex_displacement = Lx / 2; |
