diff options
Diffstat (limited to 'libraries/irrlicht-1.8/include/position2d.h')
-rw-r--r-- | libraries/irrlicht-1.8/include/position2d.h | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/libraries/irrlicht-1.8/include/position2d.h b/libraries/irrlicht-1.8/include/position2d.h index 63275d2..05a27c6 100644 --- a/libraries/irrlicht-1.8/include/position2d.h +++ b/libraries/irrlicht-1.8/include/position2d.h | |||
@@ -1,32 +1,32 @@ | |||
1 | // Copyright (C) 2002-2012 Nikolaus Gebhardt | 1 | // Copyright (C) 2002-2012 Nikolaus Gebhardt |
2 | // This file is part of the "Irrlicht Engine". | 2 | // This file is part of the "Irrlicht Engine". |
3 | // For conditions of distribution and use, see copyright notice in irrlicht.h | 3 | // For conditions of distribution and use, see copyright notice in irrlicht.h |
4 | 4 | ||
5 | //! As of Irrlicht 1.6, position2d is a synonym for vector2d. | 5 | //! As of Irrlicht 1.6, position2d is a synonym for vector2d. |
6 | /** You should consider position2d to be deprecated, and use vector2d by preference. */ | 6 | /** You should consider position2d to be deprecated, and use vector2d by preference. */ |
7 | 7 | ||
8 | #ifndef __IRR_POSITION_H_INCLUDED__ | 8 | #ifndef __IRR_POSITION_H_INCLUDED__ |
9 | #define __IRR_POSITION_H_INCLUDED__ | 9 | #define __IRR_POSITION_H_INCLUDED__ |
10 | 10 | ||
11 | #include "vector2d.h" | 11 | #include "vector2d.h" |
12 | 12 | ||
13 | namespace irr | 13 | namespace irr |
14 | { | 14 | { |
15 | namespace core | 15 | namespace core |
16 | { | 16 | { |
17 | 17 | ||
18 | // Use typedefs where possible as they are more explicit... | 18 | // Use typedefs where possible as they are more explicit... |
19 | 19 | ||
20 | //! \deprecated position2d is now a synonym for vector2d, but vector2d should be used directly. | 20 | //! \deprecated position2d is now a synonym for vector2d, but vector2d should be used directly. |
21 | typedef vector2d<f32> position2df; | 21 | typedef vector2d<f32> position2df; |
22 | 22 | ||
23 | //! \deprecated position2d is now a synonym for vector2d, but vector2d should be used directly. | 23 | //! \deprecated position2d is now a synonym for vector2d, but vector2d should be used directly. |
24 | typedef vector2d<s32> position2di; | 24 | typedef vector2d<s32> position2di; |
25 | } // namespace core | 25 | } // namespace core |
26 | } // namespace irr | 26 | } // namespace irr |
27 | 27 | ||
28 | // ...and use a #define to catch the rest, for (e.g.) position2d<f64> | 28 | // ...and use a #define to catch the rest, for (e.g.) position2d<f64> |
29 | #define position2d vector2d | 29 | #define position2d vector2d |
30 | 30 | ||
31 | #endif // __IRR_POSITION_H_INCLUDED__ | 31 | #endif // __IRR_POSITION_H_INCLUDED__ |
32 | 32 | ||