diff options
-rw-r--r-- | issues.org | 38 | ||||
-rw-r--r-- | test/matrixtest.cpp | 32 |
2 files changed, 45 insertions, 25 deletions
diff --git a/issues.org b/issues.org new file mode 100644 index 00000000..c0b1c287 --- /dev/null +++ b/issues.org @@ -0,0 +1,38 @@ +#+TITLE: Issues +#+DATE: <2017-07-27 Thu> +#+AUTHOR: Yann Herklotz +#+EMAIL: ymherklotz@gmail.com +#+OPTIONS: ':nil *:t -:t ::t <:t H:3 \n:nil ^:t arch:headline +#+OPTIONS: author:t c:nil creator:comment d:(not "LOGBOOK") date:t +#+OPTIONS: e:t email:nil f:t inline:t num:t p:nil pri:nil stat:t +#+OPTIONS: tags:t tasks:t tex:t timestamp:t toc:t todo:t |:t +#+CREATOR: Emacs 25.2.1 (Org mode 8.2.10) +#+DESCRIPTION: This is a todo list for yage. +#+EXCLUDE_TAGS: noexport +#+KEYWORDS: todo list +#+LANGUAGE: en +#+SELECT_TAGS: export + +* General + +** TODO Add comments + +*** Reason + Currently there are no comments in the code. They should be added so that in the future the code + can be edited easily and improved without having to know the exact implementation of every function. + +*** Requirements + - It should follow the doxygen API so that documentation can easily be generated. + + +* Graphics + +** TODO Switch GPU API + +*** Reason + Vulkan is much more straight forward and it should be easier to understand OpenGL from it. I + also the newest API that will be used in the newest games and is supported by quite a few + graphics cards. + +*** Requirements + - yage shouldn't depend on GL anymore and exclusively use Vulkan libraries. diff --git a/test/matrixtest.cpp b/test/matrixtest.cpp index 20f6fb6b..08d025a6 100644 --- a/test/matrixtest.cpp +++ b/test/matrixtest.cpp @@ -65,34 +65,16 @@ int main() { TestBench tb; - bool all_passed=false; + bool all_passed=true; - try - { - test(tb, "Matrix Assign", matrixAssign()); - } - catch(std::exception e) - { - std::cout<<e.what()<<'\n'; - } + try{ test(tb, "Matrix Assign", matrixAssign()); } + catch(std::exception e) { std::cout<<e.what()<<'\n'; } - try - { - test(tb, "Matrix Addition", matrixAddition()); - } - catch(std::exception e) - { - std::cout<<e.what()<<'\n'; - } + try{ test(tb, "Matrix Addition", matrixAddition()); } + catch(std::exception e) { std::cout<<e.what()<<'\n'; } - try - { - test(tb, "Vector Dot Product", vectorDotProduct()); - } - catch(std::string e) - { - std::cout<<e<<'\n'; - } + try{ test(tb, "Vector Dot Product", vectorDotProduct()); } + catch(std::string e) { std::cout<<e<<'\n'; } tb.printResults(); return all_passed; |