UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

64 lines (30 loc) 804 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [Mat3](./rc-js-util.mat3.md) &gt; [setTranslationMatrix](./rc-js-util.mat3.settranslationmatrix.md) ## Mat3.setTranslationMatrix() method **Signature:** ```typescript setTranslationMatrix(_translationX: number, _translationY: number): Mat3<TArray>; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> \_translationX </td><td> number </td><td> </td></tr> <tr><td> \_translationY </td><td> number </td><td> </td></tr> </tbody></table> **Returns:** [Mat3](./rc-js-util.mat3.md)<!-- -->&lt;TArray&gt;