summaryrefslogtreecommitdiff
path: root/src/cWiremesh.cpp
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-05-06 18:18:32 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-05-06 18:18:32 +0200
commit99107be8a997eb453b989e1b31123708685696dc (patch)
tree3e822201c2662097ac7c294596e15395de5ab96c /src/cWiremesh.cpp
parent3fec03eeaa7dbe5152255ebdc0aae9841c241565 (diff)
downloadtermgl-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.cpp2
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});
}