$treeview $search $mathjax
Stratagus  2.2.6
$projectbrief
$projectbrief
$searchbox
-->
         _________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
           Stratagus - A free fantasy real time strategy game engine

src/include/vec2i.h File Reference

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)

Typedef Documentation

typedef Vec2T<int> PixelDiff

typedef Vec2T<int> PixelPos

typedef Vec2T<int> PixelSize

typedef Vec2T<short int> Vec2i


Function Documentation

template<typename T>
bool operator!= ( const Vec2T< T > &  lhs,
const Vec2T< T > &  rhs 
) [inline]

template<typename T>
Vec2T<T> operator* ( int  lhs,
const Vec2T< T > &  rhs 
) [inline]

template<typename T>
Vec2T<T> operator* ( const Vec2T< T > &  lhs,
int  rhs 
) [inline]

template<typename T>
const Vec2T<T>& operator*= ( Vec2T< T > &  lhs,
int  rhs 
) [inline]

template<typename T>
Vec2T<T> operator+ ( const Vec2T< T > &  lhs,
const Vec2T< T > &  rhs 
) [inline]

template<typename T>
const Vec2T<T>& operator+= ( Vec2T< T > &  lhs,
const Vec2T< T > &  rhs 
) [inline]

template<typename T>
Vec2T<T> operator- ( const Vec2T< T > &  lhs,
const Vec2T< T > &  rhs 
) [inline]

template<typename T>
const Vec2T<T>& operator-= ( Vec2T< T > &  lhs,
const Vec2T< T > &  rhs 
) [inline]

template<typename T>
Vec2T<T> operator/ ( const Vec2T< T > &  lhs,
int  rhs 
) [inline]

template<typename T>
const Vec2T<T>& operator/= ( Vec2T< T > &  lhs,
int  rhs 
) [inline]

template<typename T>
bool operator== ( const Vec2T< T > &  lhs,
const Vec2T< T > &  rhs 
) [inline]

(C) Copyright 1998-2011 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.