Nebula
Loading...
Searching...
No Matches
random.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
11//------------------------------------------------------------------------------
12#include "core/types.h"
13
14namespace Util
15{
16
19
22float RandomFloat();
23
26float RandomFloatNTP();
27
28} // namespace Util
A pinned array is an array which manages its own virtual memory.
Definition String.cs:6
float RandomFloatNTP()
Produces an xorshift128 psuedo based floating point random number in range -1..1 Note that this is no...
Definition random.cc:54
uint FastRandom()
XorShift128 implementation.
Definition random.cc:22
float RandomFloat()
Thanks to Nic Werneck (https://xor0110.wordpress.com/2010/09/24/how-to-generate-floating-point-random...
Definition random.cc:43
unsigned int uint
Definition types.h:31