$treeview $search $mathjax
Stratagus
2.2.7
$projectbrief
|
$projectbrief
|
$searchbox |
_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
Go to the source code of this file.
Classes | |
class | Vec2T< T > |
vec2i.h - Vec2i headerfile. | |
typedef Vec2T< short int > | Vec2i |
typedef Vec2T< int > | PixelPos |
typedef Vec2T< int > | PixelDiff |
typedef Vec2T< int > | PixelSize |
template<typename T> | |
bool | operator== (const Vec2T< T > &lhs, const Vec2T< T > &rhs) |
template<typename T> | |
bool | operator!= (const Vec2T< T > &lhs, const Vec2T< T > &rhs) |
template<typename T> | |
const Vec2T< T > & | operator+= (Vec2T< T > &lhs, const Vec2T< T > &rhs) |
template<typename T> | |
const Vec2T< T > & | operator-= (Vec2T< T > &lhs, const Vec2T< T > &rhs) |
template<typename T> | |
const Vec2T< T > & | operator*= (Vec2T< T > &lhs, int rhs) |
template<typename T> | |
const Vec2T< T > & | operator/= (Vec2T< T > &lhs, int rhs) |
template<typename T> | |
Vec2T< T > | operator+ (const Vec2T< T > &lhs, const Vec2T< T > &rhs) |
template<typename T> | |
Vec2T< T > | operator- (const Vec2T< T > &lhs, const Vec2T< T > &rhs) |
template<typename T> | |
Vec2T< T > | operator* (const Vec2T< T > &lhs, int rhs) |
template<typename T> | |
Vec2T< T > | operator* (int lhs, const Vec2T< T > &rhs) |
template<typename T> | |
Vec2T< T > | operator/ (const Vec2T< T > &lhs, int rhs) |
template<typename T> | |
int | SquareDistance (const Vec2T< T > &pos1, const Vec2T< T > &pos2) |
template<typename T> | |
int | Distance (const Vec2T< T > &pos1, const Vec2T< T > &pos2) |
const Vec2T<T>& operator+= | ( | Vec2T< T > & | lhs, | |
const Vec2T< T > & | rhs | |||
) | [inline] |
const Vec2T<T>& operator-= | ( | Vec2T< T > & | lhs, | |
const Vec2T< T > & | rhs | |||
) | [inline] |
int SquareDistance | ( | const Vec2T< T > & | pos1, | |
const Vec2T< T > & | pos2 | |||
) | [inline] |