utility: generic vector

Changed old 2d vector template to a generic vector class that can have any amount of dimensions. Added implementations for 2d and 4d and typedefs for int and float.
Updated the unit tests accordingly

fortune cookie message = pray for what you want but work for the things you need
This commit is contained in:
Manuel Dobusch
2014-06-30 17:45:50 +02:00
parent 3a983598e6
commit ff3ddcca2a
8 changed files with 729 additions and 190 deletions
+6 -6
View File
@@ -1,6 +1,6 @@
Graph.cpp removeEdge() ERROR: Can't remove member edge, without removing the child node.
TextAccess.cpp checkIndexIntervalInRange() WARNING: Index 'firstLine' has to be lower or equal index 'lastLine', is 2 > 1
TextAccess.cpp checkIndexInRange() WARNING: Tried to access index 9. Maximum index is 7
TextAccess.cpp checkIndexInRange() WARNING: Tried to access index 9. Maximum index is 7
TextAccess.cpp getLine() WARNING: Line numbers start with one, is 0
TextAccess.cpp getLines() WARNING: Line numbers start with one, is 0
Graph.cpp Graph::removeEdge() ERROR: Can't remove member edge, without removing the child node.
TextAccess.cpp TextAccess::checkIndexIntervalInRange() WARNING: Index 'firstLine' has to be lower or equal index 'lastLine', is 2 > 1
TextAccess.cpp TextAccess::checkIndexInRange() WARNING: Tried to access index 9. Maximum index is 7
TextAccess.cpp TextAccess::checkIndexInRange() WARNING: Tried to access index 9. Maximum index is 7
TextAccess.cpp TextAccess::getLine() WARNING: Line numbers start with one, is 0
TextAccess.cpp TextAccess::getLines() WARNING: Line numbers start with one, is 0