Luna::operator+

Float4x4 operator+(const Float4x4 &m1, f32 s)

Adds one matrix with one scalar. The scalar will be added to every component of the matrix.

Parameters

  • in m1

    The matrix.

  • in s

    The scalar.

Return value

Reutrns the result matrix.