cpp-sdl2
C++ header-only SDL2 wrapper
vec2.hpp File Reference

Go to the source code of this file.

Classes

struct  sdl::details::Vec2Base< T >
 base content of a vector 2 More...
 
class  sdl::Vec2< T, Base >
 Generic templated 2D vector class. More...
 

Namespaces

 sdl::details
 Contains implementation details.
 
 sdl
 Define to deactivate exception support.
 

Typedefs

using sdl::Vec2i = Vec2< int, SDL_Point >
 Vector of two integers, that is convertible to/from SDL_Point. More...
 
using sdl::Vec2f = Vec2< float >
 Vector of two floats. More...
 
using sdl::Vec2d = Vec2< double >
 Vector of two double. More...