Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add FuzzyEq method #1327

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions include/roblox.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1376,6 +1376,8 @@ interface CFrame {
ToOrientation(this: CFrame): LuaTuple<[number, number, number]>;
/** Returns a tuple of a Vector3 and a number which represent the rotation of the CFrame in the axis-angle representation */
ToAxisAngle(this: CFrame): LuaTuple<[Vector3, number]>;
/** 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. */
FuzzyEq(this: CFrame, other: CFrame, epsilon?: number): boolean;
}

interface CFrameConstructor {
Expand Down
Loading