X-Git-Url: http://git.treefish.org/~alex/seamulator.git/blobdiff_plain/986ab15c99a77bf9d2f827c2bad9c00dea9665d5..e0522b705b9988ff07e42ab14689bd0b8c4745cb:/watersurface.cpp diff --git a/watersurface.cpp b/watersurface.cpp index 930cf7f..c27e7db 100644 --- a/watersurface.cpp +++ b/watersurface.cpp @@ -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);