bluecore/engine/Math/Point.h

35 lines
632 B
C
Raw Normal View History

2008-01-16 11:45:17 +00:00
//------------------------------------------------------------------------------
// 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)
{
}
2008-01-24 22:16:53 +00:00
2008-01-16 11:45:17 +00:00
};
typedef Point2DTemplate<int> Point2D;
};
#endif