diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2019-05-06 18:18:32 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2019-05-06 18:18:32 +0200 |
commit | 99107be8a997eb453b989e1b31123708685696dc (patch) | |
tree | 3e822201c2662097ac7c294596e15395de5ab96c /src/cWiremesh.cpp | |
parent | 3fec03eeaa7dbe5152255ebdc0aae9841c241565 (diff) | |
download | termgl-99107be8a997eb453b989e1b31123708685696dc.tar.gz |
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...)
Diffstat (limited to 'src/cWiremesh.cpp')
-rw-r--r-- | src/cWiremesh.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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}); } |