纳金网

标题: Make It Random Complete 1.0 - 乱数生成专用插件 [打印本页]

作者: may    时间: 2017-6-19 10:09
标题: Make It Random Complete 1.0 - 乱数生成专用插件

QQ截图20170619100420.jpg
1650f77c-f56d-4445-b3c3-4630bcf76483_scaled.jpg
416f7bfd-aa77-452c-82c7-496803febeaa_scaled.jpg
100dfb3c-9365-49f9-b549-a6ecfa8a83c7_scaled.jpg
33e753f9-5347-4750-826d-d724b079f541_scaled.jpg
1c43c05a-81e9-4abb-90ca-553aade93321_scaled.jpg

Requires Unity 5.0.0 or higher.

A serious RNG library for serious engineers.

Make It Random is a fast, flexible, extensible, and feature-rich random number generation library. Unlike UnityEngine.Random, Make It Random provides the following benefits:

• Offers a wide variety of utilities on top of the basic random number generation, including non-uniform distribution sampling.

• Produces higher quality uniform distributions of integer and floating point numbers.

• Allows multiple concurrent random engines, each seeded differently, independently generating sequences of random values.

• Can be seeded using a wider variety of data, such as strings or byte arrays of any length.

• Can be used on any thread, not just the main thread.

• Includes multiple random engine algorithms and supports implementation of your own.

• Reduces confusion about whether the lower and upper bounds of ranges are inclusive or exclusive.

The categories of random data that Make It Random can generate includes:

• bits
• integers
• floating point numbers
• angles
• vectors and quaternions
• strings
• dice rolls
• colors (includes Make It Colorful)

In addition, Make It Random includes utilities for the following, with support for non-uniform weights where applicable:

• evaluating probabilities
• sampling from distributions
• selecting elements from a list
• selecting values from an enumeration
• selecting values from the set {-1, 0, +1}
• shuffling a list

The library is very extensible, to support whatever underlying RNGs and extension functions you might want. Full source code is included.

Make It Random Complete.rar

2.96 MB, 阅读权限: 10, 下载次数: 18


作者: slfzys    时间: 2017-6-19 11:51
{:6_156:谢谢分享~~




欢迎光临 纳金网 (http://go.narkii.com/club/) Powered by Discuz! X2.5