cpp-sdl2
C++ header-only SDL2 wrapper
sdl::Vec2< T, Base > Member List

This is the complete list of members for sdl::Vec2< T, Base >, including all inherited members.

clamp(SDL_Rect const &box)sdl::Vec2< T, Base >inline
clamp(T x, T a, T b)sdl::Vec2< T, Base >inlineprivate
clamped(SDL_Rect const &box) constsdl::Vec2< T, Base >inline
from_polar(A alpha, T radius)sdl::Vec2< T, Base >inlinestatic
is_null() constsdl::Vec2< T, Base >inline
length() constsdl::Vec2< T, Base >inline
normalize()sdl::Vec2< T, Base >inline
normalized() constsdl::Vec2< T, Base >inline
operator Vec2< U >() constsdl::Vec2< T, Base >inlineexplicit
operator!=(Vec2 const &other) constsdl::Vec2< T, Base >inline
operator*(T value) constsdl::Vec2< T, Base >inline
operator*(T lhs, Vec2 const &rhs)sdl::Vec2< T, Base >friend
operator*=(T value)sdl::Vec2< T, Base >inline
operator+(Vec2 const &other) constsdl::Vec2< T, Base >inline
operator+=(Vec2 const &other)sdl::Vec2< T, Base >inline
operator-() constsdl::Vec2< T, Base >inline
operator-(Vec2 const &other) constsdl::Vec2< T, Base >inline
operator-=(Vec2 const &other)sdl::Vec2< T, Base >inline
operator/(T value) constsdl::Vec2< T, Base >inline
operator/=(T value)sdl::Vec2< T, Base >inline
operator<<(std::ostream &stream, Vec2 const &v)sdl::Vec2< T, Base >friend
operator=(Vec2 const &) noexcept=defaultsdl::Vec2< T, Base >
operator=(Vec2 &&) noexcept=defaultsdl::Vec2< T, Base >
operator==(Vec2 const &other) constsdl::Vec2< T, Base >inline
sqlength() constsdl::Vec2< T, Base >inline
Vec2()sdl::Vec2< T, Base >inline
Vec2(T x, T y)sdl::Vec2< T, Base >inline
Vec2(SDL_Point const &p)sdl::Vec2< T, Base >inline
Vec2(Vec2 const &) noexcept=defaultsdl::Vec2< T, Base >
Vec2(Vec2 &&) noexcept=defaultsdl::Vec2< T, Base >