Commit 96da54d6 authored by Jan Möbius's avatar Jan Möbius

Added a round funtion



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6225 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 914db887
......@@ -46,6 +46,11 @@
return double(int( x + 0.5));
}
inline double round ( double _value ) {
return floor( _value + 0.5 );
}
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment