I need to generate random number in certain range based on seed and input parameters, such as X and Y coordinates.
e.g.
float ran = RanHash.Generete(seed, min, max, x, y)
I have already found repository that can do such things, but their functions have bug, that make things unusable for our needs.
Is there some other library, or even if you know how to implement something like this quite easily? I have not found anything on google except lib I mentioned.
Thanks for any help!
Aucun commentaire:
Enregistrer un commentaire