#include #include "glcolor.h" mogltk::ColorP::ColorP(const Color & ac) : c(ac) { } mogltk::ColorP::ColorP(Uint8 ar, Uint8 ag, Uint8 ab, Uint8 aa) : c(ar, ag, ab, aa) { } void mogltk::ColorP::Bind() { glColor4d((double) c.R / 255, (double) c.G / 255, (double) c.B / 255, (double) c.A / 255); }