@rbxts/types 1.0.580 → 1.0.581

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1655,9 +1655,27 @@ interface Random {
1655
1655
  * @deprecated
1656
1656
  */
1657
1657
  readonly _nominal_Random: unique symbol;
1658
+ /**
1659
+ * Returns a pseudorandom integer uniformly distributed over [min, max].
1660
+ */
1658
1661
  NextInteger(this: Random, min: number, max: number): number;
1662
+ /**
1663
+ * Returns a pseudorandom number uniformly distributed over [0, 1).
1664
+ */
1659
1665
  NextNumber(this: Random): number;
1666
+ /**
1667
+ * Returns a pseudorandom number uniformly distributed over [min, max).
1668
+ */
1660
1669
  NextNumber(this: Random, min: number, max: number): number;
1670
+ /**
1671
+ * Returns a unit vector with a pseudorandom direction.
1672
+ *
1673
+ * Vectors returned from this function are uniformly distributed over the unit sphere.
1674
+ */
1675
+ NextUnitVector(this: Random): Vector3;
1676
+ /**
1677
+ * Returns a new Random object with the same state as the original.
1678
+ */
1661
1679
  Clone(this: Random): Random;
1662
1680
  }
1663
1681
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.580",
3
+ "version": "1.0.581",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },