Skip to content

LiteFX::Math::Vector2f::operator=

Copys the elements of another vector into the current vector.

Synopsis

Declared in <litefx/vector.hpp>

[[dllexport, dllimport]] constexpr Vector<float, 2>& operator=(Vector<float, 2> const& _other) = default;

Return Value

A reference to the current vector instance.

Parameters

NameDescription
_otherThe vector to copy the elements from.