package
Version:
v0.4.7
Opens a new window with list of versions in this module.
Published: Apr 22, 2021
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Rnd is extencion of rand.Rand, it adds some utility methods relevant for mat package
New creates new Rnd with given seed
Time returns Rnd seeded by current time
AABB returns random point contained in aabb
angle returns random angle in range <-Pi, Pi>
Circ returns random point in given circle
Range returns point in given range
Ray returns random point on ray
Source Files
¶
Click to show internal directories.
Click to hide internal directories.