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.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cWiremesh.h') 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. -- cgit v1.2.3