Skip to content

LiteFX::Math::Vector::x

Returns the value of the x component of the vector.

Synopsis

Declared in <litefx/vector.hpp>

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

Return Value

The value of the x component of the vector.