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.h | |
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.h')
-rw-r--r-- | src/cWiremesh.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cWiremesh.h b/src/cWiremesh.h index 82d3bd6..89f8fe3 100644 --- a/src/cWiremesh.h +++ b/src/cWiremesh.h @@ -39,7 +39,7 @@ struct sVector sCoord3d direction; char c; - WORD color; + uint16_t color; }; /** @@ -56,7 +56,7 @@ public: /** * Add a line from _origin to (_origin + _vector) in 3D space. */ - void addVector(sCoord3d _origin, sCoord3d _vector, char _char, WORD _color); + void addVector(sCoord3d _origin, sCoord3d _vector, char _char, uint16_t _color); /** * Rotates by (x,y,z) degrees around the corresponding axis. |