@rbxts/types 1.0.669 → 1.0.671

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.
package/include/lua.d.ts CHANGED
@@ -596,6 +596,12 @@ declare namespace bit32 {
596
596
  /** Returns the bitwise _exclusive or_ of its operands. */
597
597
  function bxor(...operands: Array<number>): number;
598
598
 
599
+ /** Returns the number of consecutive zero bits in the 32-bit representation of the provided number starting from the left-most (most significant) bit. */
600
+ function countlz(n: number): number;
601
+
602
+ /** Returns the number of consecutive zero bits in the 32-bit representation of the provided number starting from the right-most (least significant) bit. */
603
+ function countrz(n: number): number;
604
+
599
605
  /**
600
606
  * Returns the unsigned number formed by the bits `field` to `field + width - 1` from `n`.
601
607
  * Bits are numbered from 0 (least significant) to 31 (most significant).
@@ -1094,6 +1094,11 @@ interface CFrame {
1094
1094
  Inverse(this: CFrame): CFrame;
1095
1095
  /** Returns a CFrame interpolated between this CFrame and the goal by the fraction alpha */
1096
1096
  Lerp(this: CFrame, goal: CFrame, alpha: number): CFrame;
1097
+ /**
1098
+ * Returns an orthonormalized copy of the CFrame. The BasePart.CFrame property automatically applies orthonormalization,
1099
+ * but other APIs which take CFrames do not, so this method is occasionally necessary when incrementally updating a CFrame and using it with them.
1100
+ */
1101
+ Orthonormalize(this: CFrame): CFrame;
1097
1102
  /** Returns a CFrame transformed from Object to World space. Equivalent to `[CFrame * cf]` */
1098
1103
  ToWorldSpace(this: CFrame, cf: CFrame): CFrame;
1099
1104
  /** Returns a CFrame transformed from World to Object space. Equivalent to `[CFrame:inverse() * cf]` */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.669",
3
+ "version": "1.0.671",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },