BWAPI
|
#include <boost/type_traits.hpp>
Go to the source code of this file.
Classes | |
class | Vector2< T > |
Generic 2-dimensional vector that may be used for mathematical operations on vectors. More... | |
Typedefs | |
typedef Vector2< int > | Vector2i |
typedef Vector2< float > | Vector2f |
typedef Vector2< double > | Vector2d |
Functions | |
template<class T , class U > | |
Vector2< T > | operator* (const U &val, const Vector2< T > &vec) |
Multiplication of a scalar and a vector operator. |
Multiplication of a scalar and a vector operator.
T | type of values in the vector. |
U | scalar type of the multiplication factor. |
val | scalar value to multiply the vector with. |
vec | vector to multiply the scalar value with. |