From 2404a1c8049f192464999e925375ca95819bd8e9 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sun, 10 Feb 2019 02:14:00 +0100 Subject: Code cleaning --- cWiremesh.cpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'cWiremesh.cpp') 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) { -- cgit v1.2.3