Antkeeper
0.0.1
|
#include <engine/math/hash/make-uint.hpp>
#include <engine/math/hash/pcg.hpp>
#include <engine/math/noise/simplex.hpp>
#include <engine/math/vector.hpp>
#include <cstdint>
Go to the source code of this file.
Namespaces | |
math | |
Mathematical functions and data types. | |
math::noise | |
Noise functions. | |
Functions | |
template<class T , std::size_t N> | |
T | math::noise::fbm (vector< T, N > position, std::size_t octaves, T lacunarity, T gain, T(*noise)(const vector< T, N > &, vector< hash::make_uint_t< T >, N >(*)(const vector< T, N > &))=&simplex< T, N >, vector< hash::make_uint_t< T >, N >(*hash)(const vector< T, N > &)=&hash::pcg< T, N >) |
Fractional Brownian motion (fBm). More... | |