From 99107be8a997eb453b989e1b31123708685696dc Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Mon, 6 May 2019 18:18:32 +0200 Subject: Changed color handling to take ANSI 8bit colors added ansi_color_fg(R,G,B) and ..._bg(...) to generate ANSI-colors from RGB values replaced two spaces with tabs in every file to fix terrible tabbing (thanks atom...) --- src/cWiremesh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cWiremesh.cpp') diff --git a/src/cWiremesh.cpp b/src/cWiremesh.cpp index 537f98a..0778849 100644 --- a/src/cWiremesh.cpp +++ b/src/cWiremesh.cpp @@ -4,7 +4,7 @@ cWiremesh::cWiremesh() : position({0,0,0}), angle({0,0,0}) { } cWiremesh::~cWiremesh() { } -void cWiremesh::addVector(sCoord3d _origin, sCoord3d _vector, char _char, WORD _color) +void cWiremesh::addVector(sCoord3d _origin, sCoord3d _vector, char _char, uint16_t _color) { vectors.push_back(sVector{_origin, _vector, _char, _color}); } -- cgit v1.2.3