From 7311acaef6dcc9edbff2859c3c2c7c34c1e26c57 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Tue, 2 Jun 2015 20:32:37 +1000 Subject: [PATCH] n/f/base: add frequency accessor implementation --- noise/fractal/base.ipp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/noise/fractal/base.ipp b/noise/fractal/base.ipp index 557743ab..2a96a646 100644 --- a/noise/fractal/base.ipp +++ b/noise/fractal/base.ipp @@ -80,6 +80,15 @@ namespace util { namespace noise { namespace fractal { } + //------------------------------------------------------------------------- + template + constexpr T + base::frequency (void) const + { + return m_frequency; + } + + //------------------------------------------------------------------------- template T