Skip to content

LiteFX::Math::Vector::x

Returns a reference of the value of the x component of the vector.

Synopsis

Declared in <litefx/vector.hpp>

constexpr scalar_type& x() noexcept
requires (DIM > 0);

Return Value

The a reference of the value of the x component of the vector.