noise-tool: instantiate noise gens for testing

explicitly instantiate various combinations of noise generators for
link-time testing.
This commit is contained in:
Danny Robson 2015-06-01 18:57:00 +10:00
parent 1ec4b7b9a1
commit e98709bfc6

View File

@ -12,6 +12,12 @@
#include "noise/basis/worley.hpp" #include "noise/basis/worley.hpp"
#include "extent.hpp" #include "extent.hpp"
template struct util::noise::fractal::fbm<float, util::noise::basis::perlin<float,util::lerp::cubic>>;
template struct util::noise::fractal::hmf<float, util::noise::basis::value<float,util::lerp::cubic>>;
template struct util::noise::fractal::rmf<float, util::noise::basis::constant<float>>;
template struct util::noise::fractal::hetero<float, util::noise::basis::worley<float,2>>;
int int
main (void) main (void)
{ {