diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-07-25 08:23:51 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-07-25 08:23:51 +0100 |
commit | 34bb15107a71fa4c6ab2114013b1de6b38554e78 (patch) | |
tree | 6e548135914e133fce6ab9651399b496c76fab4a | |
parent | 21ba55df6e75a5c03b4ecbb790fa1174d1de10fd (diff) | |
download | YAGE-34bb15107a71fa4c6ab2114013b1de6b38554e78.tar.gz YAGE-34bb15107a71fa4c6ab2114013b1de6b38554e78.zip |
Matrices now print properly
-rw-r--r-- | include/YAGE/inputmanager.hpp | 2 | ||||
-rw-r--r-- | test/matrixtest.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/YAGE/inputmanager.hpp b/include/YAGE/inputmanager.hpp index 7f49c3b3..fc9e5479 100644 --- a/include/YAGE/inputmanager.hpp +++ b/include/YAGE/inputmanager.hpp @@ -8,11 +8,9 @@ namespace yage class InputManager { - // member variables private: std::unordered_map<unsigned, bool> key_map_; - // member functions public: void keyPressed(unsigned key); void keyReleased(unsigned key); diff --git a/test/matrixtest.cpp b/test/matrixtest.cpp index 8ee350f6..20f6fb6b 100644 --- a/test/matrixtest.cpp +++ b/test/matrixtest.cpp @@ -36,6 +36,8 @@ bool matrixAddition() yage::Matrix<4, 4, int> m3=m1+m2; + std::cout<<m3<<'\n'; + return m3[1][1]==876; } |