Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials

position2d.h

Go to the documentation of this file.
00001 // Copyright (C) 2002-2010 Nikolaus Gebhardt
00002 // This file is part of the "Irrlicht Engine".
00003 // For conditions of distribution and use, see copyright notice in irrlicht.h
00004 
00006 
00008 #ifndef __IRR_POSITION_H_INCLUDED__
00009 #define __IRR_POSITION_H_INCLUDED__
00010 
00011 #include "vector2d.h"
00012 
00013 namespace irr
00014 {
00015 namespace core
00016 {
00017 
00018 // Use typedefs where possible as they are more explicit...
00019 
00021 typedef vector2d<f32> position2df;
00022 
00024 typedef vector2d<s32> position2di;
00025 } // namespace core
00026 } // namespace irr
00027 
00028 // ...and use a #define to catch the rest, for (e.g.) position2d<f64>
00029 #define position2d vector2d
00030 
00031 #endif // __IRR_POSITION_H_INCLUDED__
00032 

The Irrlicht Engine
The Irrlicht Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated on Sun Oct 24 12:41:57 2010 by Doxygen (1.6.2)