Size2< T > Struct Template Reference

2D Size structure More...

#include <Types/Size2.h>

List of all members.

Public Member Functions

 Size2 (const T &width, const T &height)
 Basic constructor.
template<typename U >
 Size2 (const Vec2< U > &size)
 Converts a Vec2 to Size2.
bool operator== (const Size2< T > &s) const
 equality operator

Public Attributes

width
height

Detailed Description

template<typename T>
struct Size2< T >

2D Size structure

2D size containing two fields (width and height).


Constructor & Destructor Documentation

template<typename T>
Size2< T >::Size2 ( const T &  width,
const T &  height 
) [inline]

Basic constructor.

Parameters:
width the value for the width
height the value for the height

Member Function Documentation

template<typename T>
bool Size2< T >::operator== ( const Size2< T > &  s  )  const [inline]

equality operator

Parameters:
s the second size to compare against

Member Data Documentation

template<typename T>
T Size2< T >::height

The value for the height

template<typename T>
T Size2< T >::width

The value for the width


The documentation for this struct was generated from the following file:
 All Classes Functions Variables Typedefs
Generated on Thu Oct 6 22:11:38 2011 for WE_Kit by  doxygen 1.6.3