Initializes a new generator using the specified seed.
Optionalseed: numberOptionalisInternalConstructor: booleanReturns a random value in range [0, NumericLimits
Returns a random value in range [0, NumericLimits
Returns a random set of Barycentric coordinates that may be used for generating random points on a triangle.
Returns a random point inside the specified range in an arc shell of unit radius, with the specified length (angle) and thickness in range [0, 1]. Angle of 360 represents a circle shell. Thickness of 0 will generate points on the arc edge, while thickness of 1 will generate points on the entire arc 'slice'. Intermediate values represent the shell, which is the surface between two concentric circles.
Returns a random point inside a unit circle.
Returns a random point inside the specified range in a circle shell of unit radius, with the specified thickness, in range [0, 1]. Thickness of 0 will generate points on the circle edge, while thickness of 1 will generate points within the entire circle surface. Intermediate values represent the shell, which is the surface between two concentric circles.
Returns a random point inside a unit sphere.
Returns a random point inside the specified range in a sphere shell of unit radius, with the specified thickness, in range [0, 1]. Thickness of 0 will generate points on the sphere surface, while thickness of 1 will generate points within the entire sphere volume. Intermediate values represent the shell, which is a volume between two concentric spheres.
Returns a random value in range [min, max].
Returns a random value in range [-1, 1].
Returns a random unit vector in three dimensions.
Returns a random unit vector in two dimensions.
Returns a random value in range [0, 1].
Changes the seed of the generator to the specified value.
Generates pseudo random numbers using the Xorshift128 algorithm. Suitable for high performance requirements.