removed gridSize from the template arguments

- not needed and code much cleaner
some minor changes
new test-cases
This commit is contained in:
2016-01-25 15:53:12 +01:00
parent 9947dced15
commit 5aedce47f1
16 changed files with 167 additions and 66 deletions

View File

@@ -4,7 +4,8 @@
#include "GridNodeBBox.h"
#include "GridPoint.h"
template<int, typename> class Grid;
/** forward decl. */
template<typename> class Grid;
/**
@@ -17,7 +18,8 @@ struct GridNode {
private:
template<int, typename> friend class Grid;
/** grant full access to the grid */
template<typename> friend class Grid;
/** INTERNAL: array-index */
int _idx;