HighMap library (C++)
Loading...
Searching...
No Matches
interpolate2d_idw.cpp File Reference

Namespaces

namespace  hmap

Functions

Array hmap::interpolate2d_idw (glm::ivec2 shape, const std::vector< float > &x, const std::vector< float > &y, const std::vector< float > &values, const Array *p_noise_x=nullptr, const Array *p_noise_y=nullptr, const UvRect &uv_rect=UvRect::unit(), float distance_exp=2.f, float radius=0.f)
 2D interpolation using the IDW method.