Using OpenSimplex Noise in BMax
BlitzMax Forums/BlitzMax Programming/Using OpenSimplex Noise in BMax
| ||
As Simplex Noise has a license restriction some guys created OpenSimplex in C++ a while ago but I don't know how to include it into Blitzmax and need some assistance here. Here is the source on Github: OpenSimplex, see the lib subfolder. There are strange language constructs I don't know like "struct osn_contect *ctx": double open_simplex_noise2(struct osn_context *ctx, double x, double y); double open_simplex_noise3(struct osn_context *ctx, double x, double y, double z); double open_simplex_noise4(struct osn_context *ctx, double x, double y, double z, double w); I would like to include it into this test code like I did with a different C++ variant of 4D Simplex Noise which can be downloaded here: simplexnoise.cpp |