// RANDOM POINT in a DISK // FROM http://mathworld.wolfram.com/DiskPointPicking.html public Vector2 PointInADisk() { return(RandomDisk.Disk(ref _rand)); }
// RANDOM POINT in a DISK // FROM http://mathworld.wolfram.com/DiskPointPicking.html public Vector2 PointInADisk(Normalization n, float t) { return(RandomDisk.Disk(ref _rand, n, t)); }
// RANDOM POINT IN A CIRCLE centered at 0 // FROM http://mathworld.wolfram.com/CirclePointPicking.html // Take a number between 0 and 2PI and move to Cartesian Coordinates public Vector2 PointInACircle() { return(RandomDisk.Circle(ref _rand)); }