plus

operator fun plus(other: Matrix4): Matrix4

Overloads the + operator to perform element-wise addition of this matrix with another Matrix4.

Each component of the resulting matrix is the sum of the corresponding components of this matrix and the other matrix.

Return

A new Matrix4 representing the sum of this matrix and other.

Parameters

other

The Matrix4 to add to this matrix.