Closed crertel closed 5 years ago
It's time to add more random numbers to Graphmath!
Quatern.random/0
Vec2.random_circle/0
Vec2.random_disc/0
Vec2.random_square/0
Vec3.random_box/0
Vec3.random_sphere/0
Vec3.random_ball/0
It's time to add more random numbers to Graphmath!
Quatern.random/0
for generating random quaternions.Vec2.random_circle/0
for generating vec2s on a unit circle.Vec2.random_disc/0
for generating vec2s on a unit disc.Vec2.random_square/0
for generating vec2s on unit square.Vec3.random_box/0
for generating vec3s inside a unit box.Vec3.random_sphere/0
for generating vec3s on a unit sphere.Vec3.random_ball/0
for generating vec3s on or inside the unit sphere.