← API Reference Class

template<_internal::Numeric T> asge::math::Vec2 final

#include <Vector2.hpp>

Inherits from asge::math::VecN< 2, T, Vec2< T > >.

Inheritance

classDiagram
    class N2["asge::math::VecN"]
    class N1["asge::math::Vec2"]
    N2 <|-- N1
    click N2 href "classasge_1_1math_1_1VecN.html"
    click N1 href "classasge_1_1math_1_1Vec2.html"

Collaboration

classDiagram
    class N3["T"]
    class N2["asge::math::VecN"]
    class N1["asge::math::Vec2"]
    N2 --> N3 : m_Vector
    N2 <|-- N1
    click N2 href "classasge_1_1math_1_1VecN.html"
    click N1 href "classasge_1_1math_1_1Vec2.html"

Public Types

#using base = VecN< 2, T, Vec2< T > >
#using rebind = Vec2< U >

Friends

#friend VecNprivate

Static Public Member Functions

#static Vec2 Zero()

Public Member Functions

#Vec2()=default
#template<_internal::Numeric... Us> explicit constexpr Vec2(Us... inValues)
#constexpr Vec2(std::initializer_list< T > inList)
#Vec2(const base &inBase)
#constexpr reference x()
#constexpr reference y()
#constexpr value_type x() const
#constexpr value_type y() const