diff options
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; |
