diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2019-02-10 02:14:00 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2019-02-10 02:14:00 +0100 |
commit | 2404a1c8049f192464999e925375ca95819bd8e9 (patch) | |
tree | e141b0bda85eee80d4ac821b5a0f5d0e35c126e6 /cWiremesh.cpp | |
parent | 6dce8d1945731314ee4def31431cc99a6d620192 (diff) | |
download | termgl-2404a1c8049f192464999e925375ca95819bd8e9.tar.gz |
Code cleaning
Diffstat (limited to 'cWiremesh.cpp')
-rw-r--r-- | cWiremesh.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/cWiremesh.cpp b/cWiremesh.cpp index 085f366..62fee0d 100644 --- a/cWiremesh.cpp +++ b/cWiremesh.cpp @@ -1,15 +1,8 @@ #include "cWiremesh.h" -cWiremesh::cWiremesh() -{ - position = {0,0,0}; - angle = {0,0,0}; -} +cWiremesh::cWiremesh() : position({0,0,0}), angle({0,0,0}) { } -cWiremesh::~cWiremesh() -{ - -} +cWiremesh::~cWiremesh() { } void cWiremesh::addVector(sCoord3d _origin, sCoord3d _vector, char _char, WORD _color) { |