@rbxts/types 1.0.819 → 1.0.820
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/roblox.d.ts +2 -0
- package/package.json +1 -1
package/include/roblox.d.ts
CHANGED
|
@@ -1427,6 +1427,8 @@ interface CFrame {
|
|
|
1427
1427
|
ToOrientation(this: CFrame): LuaTuple<[number, number, number]>;
|
|
1428
1428
|
/** Returns a tuple of a Vector3 and a number which represent the rotation of the CFrame in the axis-angle representation */
|
|
1429
1429
|
ToAxisAngle(this: CFrame): LuaTuple<[Vector3, number]>;
|
|
1430
|
+
/** Returns `true` if the other CFrame is sufficiently close to this CFrame in both position and rotation. The `eps` value is used to control the tolerance for this similarity. This value is optional and should be a small positive value if provided. The default value is 0.00001 (1e-5). The similarity for position is component-wise, and for rotation uses a fast approximation of the angle difference. */
|
|
1431
|
+
FuzzyEq(this: CFrame, other: CFrame, epsilon?: number): boolean;
|
|
1430
1432
|
}
|
|
1431
1433
|
|
|
1432
1434
|
interface CFrameConstructor {
|