Skip to content

LiteFX::Math::Vector4u::y

y overloads

Synopses

Declared in <litefx/vector.hpp>

Returns the value of the y component of the vector.

[[dllexport, dllimport]] constexpr scalar_type y() const noexcept
requires (DIM > 1);

» more...

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

[[dllexport, dllimport]] constexpr scalar_type& y() noexcept
requires (DIM > 1);

» more...

Return Value

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