X-Git-Url: http://git.treefish.org/~alex/seamulator.git/blobdiff_plain/3a3ad62faa958b07f2a91b4b21e6cfa92309ba80..ddf55f4232002ee06d7ae4af670ce80f1ec37eb3:/watersurface.cpp?ds=inline 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);