Auburn / FastNoiseLite

Fast Portable Noise Library - C# C++ C Java HLSL GLSL JavaScript Rust Go

Home Page:http://auburn.github.io/FastNoiseLite/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add way to change from int seed to long seed

xandergos opened this issue · comments

I'm using FastNoiseLite in Java, and would like to use the same seed for both a Java Random class instance, and for FastNoiseLite. Obviously, I can convert the long to an int, and make overflows a feature, but for the sake of consistency and variety, it would be appreciated if there was a mechanism similar to that which is used for swapping floats and doubles.

*Just realized that this has been asked before, so apologies for that.

Ok, I will fold it.