aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8.1/include/position2d.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-01-13 19:47:58 +1000
committerDavid Walter Seikel2014-01-13 19:47:58 +1000
commitf9158592e1478b2013afc7041d9ed041cf2d2f4a (patch)
treeb16e389d7988700e21b4c9741044cefa536dcbae /libraries/irrlicht-1.8.1/include/position2d.h
parentLibraries readme updated with change markers and more of the Irrlicht changes. (diff)
downloadSledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.zip
SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.gz
SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.bz2
SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.xz
Update Irrlicht to 1.8.1. Include actual change markers this time. lol
Diffstat (limited to '')
-rw-r--r--libraries/irrlicht-1.8.1/include/position2d.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/libraries/irrlicht-1.8.1/include/position2d.h b/libraries/irrlicht-1.8.1/include/position2d.h
new file mode 100644
index 0000000..63275d2
--- /dev/null
+++ b/libraries/irrlicht-1.8.1/include/position2d.h
@@ -0,0 +1,32 @@
1// Copyright (C) 2002-2012 Nikolaus Gebhardt
2// This file is part of the "Irrlicht Engine".
3// For conditions of distribution and use, see copyright notice in irrlicht.h
4
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. */
7
8#ifndef __IRR_POSITION_H_INCLUDED__
9#define __IRR_POSITION_H_INCLUDED__
10
11#include "vector2d.h"
12
13namespace irr
14{
15namespace core
16{
17
18// Use typedefs where possible as they are more explicit...
19
20//! \deprecated position2d is now a synonym for vector2d, but vector2d should be used directly.
21typedef vector2d<f32> position2df;
22
23//! \deprecated position2d is now a synonym for vector2d, but vector2d should be used directly.
24typedef vector2d<s32> position2di;
25} // namespace core
26} // namespace irr
27
28// ...and use a #define to catch the rest, for (e.g.) position2d<f64>
29#define position2d vector2d
30
31#endif // __IRR_POSITION_H_INCLUDED__
32