]> git.treefish.org Git - seamulator.git/blobdiff - watersurface.cpp
Cleaning up
[seamulator.git] / watersurface.cpp
index 930cf7f80c5d34c74e8495c1517377a3d14b6716..c27e7dbed23de0bd92d2a76d6482728d2cc84025 100644 (file)
@@ -24,6 +24,11 @@ int WaterSurface::size() const
   return m_size;
 }
 
+double WaterSurface::unitLength() const
+{
+  return m_unitLength;
+}
+
 void WaterSurface::draw() const
 {
   glScalef(m_unitLength, m_unitLength, 1.0f);