#pragma once #include #include #include "Noise.h" class Block; class BiomInterpolator : public virtual Framework::ReferenceCounter { public: /// /// interpolates two different blocks /// the block with a heigher weight has a heigher propability to be returned /// the block that is not returned will be deleted /// /// the block with weight aWeight /// the block with weight bWeight /// the weight for block a /// the weight for block b /// the noise to use /// either a or b virtual Framework::Either interpolateBlocks( Framework::Either a, Framework::Either b, double aWeight, double bWeight, Noise* zNoise ) = 0; };