UNPKG

hytopia

Version:

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

56 lines (27 loc) 753 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [Matrix2](./server.matrix2.md) &gt; [subtract](./server.matrix2.subtract.md) ## Matrix2.subtract() method Subtracts a matrix from the current matrix. **Signature:** ```typescript subtract(matrix2: Matrix2): Matrix2; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> matrix2 </td><td> [Matrix2](./server.matrix2.md) </td><td> The matrix to subtract from the current matrix. </td></tr> </tbody></table> **Returns:** [Matrix2](./server.matrix2.md) The current matrix.