HighMap library (C++)
Loading...
Searching...
No Matches
Namespaces
|
Functions
swirl.cpp File Reference
Namespaces
namespace
hmap
Functions
void
hmap::swirl
(
Array
&dx,
Array
&dy, float amplitude=1.
f
, float exponent=1.
f
, const
Array
*p_noise=nullptr,
Vec4
< float > bbox={0.
f
, 1.
f
, 0.
f
, 1.
f
})
Generate displacements
dx
and
dy
to apply a swirl effect to another primitve.
HighMap
src
primitives
swirl.cpp
Generated by
1.9.8