@rbxts/types 1.0.835 → 1.0.836

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.
Files changed (2) hide show
  1. package/include/lua.d.ts +6 -0
  2. package/package.json +1 -1
package/include/lua.d.ts CHANGED
@@ -511,6 +511,12 @@ declare namespace math {
511
511
  /** Maps a number from one range to another. */
512
512
  function map(x: number, inmin: number, inmax: number, outmin: number, outmax: number): number;
513
513
 
514
+ /**
515
+ * Returns the linear interpolation between a and b based on the factor t.
516
+ * This function uses the formula a+(b-a)*t. t is typically between 0 and 1 but values outside this range are acceptable.
517
+ */
518
+ function lerp(a: number, b: number, t: number): number;
519
+
514
520
  /** Returns the maximum value among the numbers passed to the function. */
515
521
  function max(...n: Array<number>): number;
516
522
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.835",
3
+ "version": "1.0.836",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },