UNPKG

hytopia

Version:

The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.

54 lines (26 loc) 791 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [Quaternion](./server.quaternion.md) &gt; [exactEquals](./server.quaternion.exactequals.md) ## Quaternion.exactEquals() method Checks if the current quaternion is exactly equal to another quaternion. **Signature:** ```typescript exactEquals(quaternion: Quaternion): boolean; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> quaternion </td><td> [Quaternion](./server.quaternion.md) </td><td> </td></tr> </tbody></table> **Returns:** boolean `true` if the quaternions are exactly equal, `false` otherwise.