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.

66 lines (31 loc) 843 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; [scalarAdd](./rc-js-util.mat3.scalaradd.md) ## Mat3.scalarAdd() method **Signature:** ```typescript scalarAdd<TResult extends TTypedArray = TArray>(_value: number, _result?: Mat3<TResult>): Mat3<TResult>; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> \_value </td><td> number </td><td> </td></tr> <tr><td> \_result </td><td> [Mat3](./rc-js-util.mat3.md)<!-- -->&lt;TResult&gt; </td><td> _(Optional)_ </td></tr> </tbody></table> **Returns:** [Mat3](./rc-js-util.mat3.md)<!-- -->&lt;TResult&gt;