Go to the source code of this file.
|
typedef Vec2T< short int > | Vec2i |
|
typedef Vec2T< int > | PixelPos |
|
typedef Vec2T< int > | PixelDiff |
|
typedef Vec2T< int > | PixelSize |
|
typedef Vec2T< double > | PixelPrecise |
|
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 > |
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) |
|
◆ PixelDiff
◆ PixelPos
◆ PixelPrecise
◆ PixelSize
◆ Vec2i
◆ Distance()
template<typename T >
int Distance |
( |
const Vec2T< T > & |
pos1, |
|
|
const Vec2T< T > & |
pos2 |
|
) |
| |
|
inline |
◆ operator!=()
template<typename T >
bool operator!= |
( |
const Vec2T< T > & |
lhs, |
|
|
const Vec2T< T > & |
rhs |
|
) |
| |
|
inline |
◆ operator*() [1/2]
template<typename T >
Vec2T<T> operator* |
( |
const Vec2T< T > & |
lhs, |
|
|
int |
rhs |
|
) |
| |
|
inline |
◆ operator*() [2/2]
template<typename T >
Vec2T<T> operator* |
( |
int |
lhs, |
|
|
const Vec2T< T > & |
rhs |
|
) |
| |
|
inline |
◆ operator*=()
template<typename T >
const Vec2T<T>& operator*= |
( |
Vec2T< T > & |
lhs, |
|
|
int |
rhs |
|
) |
| |
|
inline |
◆ operator+()
◆ operator+=()
◆ operator-()
◆ operator-=()
◆ operator/()
template<typename T >
Vec2T<T> operator/ |
( |
const Vec2T< T > & |
lhs, |
|
|
int |
rhs |
|
) |
| |
|
inline |
◆ operator/=()
template<typename T >
const Vec2T<T>& operator/= |
( |
Vec2T< T > & |
lhs, |
|
|
int |
rhs |
|
) |
| |
|
inline |
◆ operator<()
template<typename T >
bool operator< |
( |
const Vec2T< T > & |
lhs, |
|
|
const Vec2T< T > & |
rhs |
|
) |
| |
|
inline |
◆ operator==()
template<typename T >
bool operator== |
( |
const Vec2T< T > & |
lhs, |
|
|
const Vec2T< T > & |
rhs |
|
) |
| |
|
inline |
◆ operator>()
template<typename T >
bool operator> |
( |
const Vec2T< T > & |
lhs, |
|
|
const Vec2T< T > & |
rhs |
|
) |
| |
|
inline |
◆ SquareDistance()
template<typename T >
int SquareDistance |
( |
const Vec2T< T > & |
pos1, |
|
|
const Vec2T< T > & |
pos2 |
|
) |
| |
|
inline |
(C) Copyright 1998-2012 by The