X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Finclude%2Fmathdefs.h;h=177bd74cf72670fef1dfde47dd3fc86f49bf04f9;hb=f4bdb751aba1f5fce1d4305365d6309f993d9c32;hp=47c9f5f8388c88673204eef30554a53ab4fc9f79;hpb=c5feadbb145eecf6d73f793535b7e23eb18db2cb;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/include/mathdefs.h b/lib/maracasVisuLib/include/mathdefs.h index 47c9f5f..177bd74 100644 --- a/lib/maracasVisuLib/include/mathdefs.h +++ b/lib/maracasVisuLib/include/mathdefs.h @@ -39,14 +39,15 @@ #define GTM_MAX( a, b ) ( ( ( a ) > ( b ) )? ( a ): ( b ) ) #define GTM_POW2( a ) ( ( a ) * ( a ) ) -// Useful typedefs. +// Useful typedefs. // Useless now // JPR +/* typedef unsigned char uchar; typedef unsigned short ushort; typedef unsigned int uint; +*/ namespace gtm { - /** Rounds a double number. * * @param n Number. @@ -60,9 +61,7 @@ namespace gtm return( tmp ); else return( ceil( n ) ); - } - } #endif // GTMLIB__MATH__MATHDEFS__HXX