diff --git a/examples/grating.cpp b/examples/grating.cpp index 170216d3..3fc6c9bc 100644 --- a/examples/grating.cpp +++ b/examples/grating.cpp @@ -65,7 +65,7 @@ int main (int ac, char** av) constexpr bool interactive = true; try { - morph::vec offset = { 0.0, 0.0, 0.0 }; + morph::vec offset = { 0.0f, 0.0f, 0.0f }; auto rvm = std::make_unique> (offset); v.bindmodel (rvm);