1 // Copyright (C) 2002-2012 Nikolaus Gebhardt
\r
2 // This file is part of the "Irrlicht Engine".
\r
3 // For conditions of distribution and use, see copyright notice in irrlicht.h
\r
5 //! As of Irrlicht 1.6, position2d is a synonym for vector2d.
\r
6 /** You should consider position2d to be deprecated, and use vector2d by preference. */
\r
8 #ifndef __IRR_POSITION_H_INCLUDED__
\r
9 #define __IRR_POSITION_H_INCLUDED__
\r
11 #include "vector2d.h"
\r
18 // Use typedefs where possible as they are more explicit...
\r
20 //! \deprecated position2d is now a synonym for vector2d, but vector2d should be used directly.
\r
21 typedef vector2d<f32> position2df;
\r
23 //! \deprecated position2d is now a synonym for vector2d, but vector2d should be used directly.
\r
24 typedef vector2d<s32> position2di;
\r
28 // ...and use a #define to catch the rest, for (e.g.) position2d<f64>
\r
29 #define position2d vector2d
\r
31 #endif // __IRR_POSITION_H_INCLUDED__
\r