Skip to content

LiteFX::Math::Matrix::operator=

Assignment operators

Synopses

Declared in <litefx/matrix.hpp>

Copies the elements of another matrix into the current matrix.

constexpr Matrix& operator=(Matrix const& _other) = default;

» more...

Moves the elements of the other matrix to the current matrix.

constexpr Matrix& operator=(Matrix&& _other) noexcept = default;

» more...

Return Value

A reference to the current matrix instance.

Parameters

NameDescription
_otherThe matrix to copy the elements from.