Skip to content

Commit

Permalink
Refactored into namespaces and folders.
Browse files Browse the repository at this point in the history
  • Loading branch information
LasseD committed Dec 22, 2016
1 parent c6d5f41 commit 9c9dfb7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions BrickCountingCore/Common.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#ifndef COMMON_H
#define COMMON_H

/*
Commonly used definitions.
*/

//#define _TRACE 1
//#define _COMPARE_ALGORITHMS 1

// Ensure cross platform compatibility of std::min and std::max:
#define MIN(a,b) ((a) < (b) ? (a) : (b))
#define MAX(a,b) ((b) < (a) ? (a) : (b))

#define EPSILON 1e-6

#endif // COMMON_H

0 comments on commit 9c9dfb7

Please sign in to comment.