removed gridSize from the template arguments
- not needed and code much cleaner some minor changes new test-cases
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user