Home > decentraland-ecs > Matrix > addToRef
Sets the given matrix "result" to the addition of the current matrix and the given one
Signature:
addToRef(other: Matrix, result: Matrix): Matrix;
Returns: Matrix
the current matrix
Parameter | Type | Description |
---|---|---|
other |
Matrix |
defines the matrix to add |
result |
Matrix |
defines the target matrix |