From 541c00c93fcd98f766cce661aa83ef4ffe713e57 Mon Sep 17 00:00:00 2001 From: pixel Date: Fri, 28 Mar 2003 12:30:26 +0000 Subject: First part of the backend separation --- lib/glcolor.cc | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 lib/glcolor.cc (limited to 'lib/glcolor.cc') diff --git a/lib/glcolor.cc b/lib/glcolor.cc deleted file mode 100644 index c38b4e5..0000000 --- a/lib/glcolor.cc +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include "glcolor.h" - -mogltk::glColorP::glColorP(const Color & ac) : ColorP(ac) { -} - -mogltk::glColorP::glColorP(Uint8 ar, Uint8 ag, Uint8 ab, Uint8 aa) : ColorP(ar, ag, ab, aa) { -} - -void mogltk::glColorP::Bind() { - glColor4d((double) MIN(MAX(c.R, Min.R), Max.R) / 255, (double) MIN(MAX(c.G, Min.G), Max.G) / 255, (double) MIN(MAX(c.B, Min.B), Max.B) / 255, (double) MIN(MAX(c.A, Min.A), Max.A) / 255); -} - -- cgit v1.2.3