Removed more unnecessary c ode

Sun, 28 Nov 2021 23:47:55 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Sun, 28 Nov 2021 23:47:55 +0200
changeset 65
e679dd5cd159
parent 64
c55e46b7ddeb
child 66
c68545f1aecb

Removed more unnecessary c ode

commonlib/misc.h file | annotate | diff | comparison | revisions
--- a/commonlib/misc.h	Sun Nov 28 23:45:30 2021 +0200
+++ b/commonlib/misc.h	Sun Nov 28 23:47:55 2021 +0200
@@ -29,43 +29,3 @@
 bool confirm (const QString& text);
 QString getBinaryPath (QWidget* parent);
 void assimilateWadPaths (QStringList& wadpaths);
-
-//
-// -----------------------------------------------------------------------------
-//
-
-template<typename T>
-T clamp (T a, T min, T max)
-{
-	return (a > max) ? max : (a < min) ? min : a;
-}
-
-//
-// -----------------------------------------------------------------------------
-//
-
-template<typename T>
-T min (T a, T b)
-{
-	return (a < b) ? a : b;
-}
-
-//
-// -----------------------------------------------------------------------------
-//
-
-template<typename T>
-T max (T a, T b)
-{
-	return (a > b) ? a : b;
-}
-
-//
-// -----------------------------------------------------------------------------
-//
-
-template<typename T>
-T abs (T a)
-{
-	return (a < 0) ? -a : a;
-}
\ No newline at end of file

mercurial