Skip to content

LiteFX::Math::Vector2i::w

w overloads

Synopses

Declared in <litefx/vector.hpp>

Returns the value of the w component of the vector.

[[dllimport]] constexpr scalar_type w() const noexcept
requires (DIM > 3);

» more...

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

[[dllimport]] constexpr scalar_type& w() noexcept
requires (DIM > 3);

» more...

Return Value

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