mercator  0.4.0
A terrain generation library for the Worldforge system.
iround.h
1 // This file may be redistributed and modified only under the terms of
2 // the GNU General Public License (See COPYING for details).
3 // Copyright (C) 2003 Alistair Riddoch
4 
5 #ifndef MERCATOR_IROUND_H
6 #define MERCATOR_IROUND_H
7 
8 
9 #include <cmath>
10 #define I_ROUND(_x) (std::lround(_x))
11 
12 #endif // MERCATOR_IROUND_H