bluecore/engine/Math/Point.h

35 lines
632 B
C++

//------------------------------------------------------------------------------
// Author: Gero Mueller <gero.mueller@cloo.de>
// Copyright: (c) 2006 Gero Mueller
// License: MIT License
//------------------------------------------------------------------------------
#ifndef BLUECORE_POINT_H
#define BLUECORE_POINT_H
namespace BlueCore
{
template<typename type>
struct Rectangle2DTemplate;
template<typename type>
struct Point2DTemplate
{
type _x, _y;
Point2DTemplate() : _x(0), _y(0)
{
}
Point2DTemplate( type x, type y ) : _x(x), _y(y)
{
}
};
typedef Point2DTemplate<int> Point2D;
};
#endif