peote.view.math

..
Random

To generate pseudo random numbers by a Mersenne Twister.
The same seed results in the same sequence of random numbers.

Rnd

A set of static helper functions to get random numbers.
All functions except one wraps around haxes Std.random().
The .float() function uses Math.random().

Vec2

Vector of two Float values x and y.

Vec2i

Vector of two Int values x and y.

Vec3

Vector of three Float values x, y and z.

Vec3i

Vector of three Int values x, y and z.

Vec4

Vector of four Float values x, y, z and w.

Vec4i

Vector of four Int values x, y, z and w.