Skip to content

LiteFX::Math::Size4d::x

x overloads

Synopses

Declared in <litefx/vector.hpp>

Returns the value of the x component of the vector.

[[dllexport, dllimport]] constexpr scalar_type x() const noexcept
requires (DIM > 0);

» more...

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

[[dllexport, dllimport]] constexpr scalar_type& x() noexcept
requires (DIM > 0);

» more...

Return Value

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