SDL Utility
Vector2.hpp File Reference

Provides a structure for simple vector calculations. More...

#include <type_traits>
#include "Util.hpp"

Go to the source code of this file.

Classes

struct  Vector2< T, typename >
 A struct to handle basic 2D vector operations. More...
 

Typedefs

typedef Vector2< unsigned int > Vector2u
 
typedef Vector2< unsigned int > Vec2u
 
typedef Vector2< int > Vector2i
 
typedef Vector2< int > Vec2i
 
typedef Vector2< float > Vector2f
 
typedef Vector2< float > Vec2f
 
typedef Vector2< double > Vector2d
 
typedef Vector2< double > Vec2d
 

Detailed Description

Provides a structure for simple vector calculations.

Author
Lauchmelder23
Date
16.05.2020

Typedef Documentation

◆ Vec2d

typedef Vector2<double> Vec2d

◆ Vec2f

typedef Vector2<float> Vec2f

◆ Vec2i

typedef Vector2<int> Vec2i

◆ Vec2u

typedef Vector2<unsigned int> Vec2u

◆ Vector2d

typedef Vector2<double> Vector2d

◆ Vector2f

typedef Vector2<float> Vector2f

◆ Vector2i

typedef Vector2<int> Vector2i

◆ Vector2u

typedef Vector2<unsigned int> Vector2u