// Copyright (C) 2012 Rémi Bèges // This file is part of the "Nazara Engine". // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef FBM2DNOISE_HPP #define FBM2DNOISE_HPP #include #include #include template class NzFBM2D : public NzAbstract2DNoise, public NzComplexNoiseBase { public: NzFBM2D(nzNoises source, int seed); T GetValue(T x, T y, T resolution); ~NzFBM2D(); protected: private: NzAbstract2DNoise* m_source; T m_value; T m_remainder; nzNoises m_noiseType; }; typedef NzFBM2D NzFBM2Df; typedef NzFBM2D NzFBM2Dd; #include #endif // FBM2DNOISE_HPP