#include "defs.h"
Go to the source code of this file.
Classes | |
struct | tColor |
rgba color represented by floats between 0 and 1 More... | |
Functions | |
std::ostream & | operator<< (std::ostream &s, const tColor &c) |
bool | operator== (const tColor &lColor, const tColor &rColor) |
bool | operator!= (const tColor &lColor, const tColor &rColor) |
Definition at line 58 of file tColor.h.
References operator==().
00058 { 00059 return !operator==(lColor, rColor); 00060 }
std::ostream& operator<< | ( | std::ostream & | s, | |
const tColor & | c | |||
) | [inline] |
Definition at line 49 of file tColor.h.
References tColor::a_, tColor::b_, tColor::g_, and tColor::r_.
00049 { 00050 s << "color(" << c.r_ << "," << c.g_ << "," << c.b_ << "," << c.a_ << ")"; 00051 return s; 00052 }
Definition at line 54 of file tColor.h.
References tColor::a_, tColor::b_, tColor::g_, and tColor::r_.
00054 { 00055 return ( (lColor.r_ == rColor.r_) && (lColor.g_ == rColor.g_) && (lColor.b_ == rColor.b_) && (lColor.a_ == rColor.a_)); 00056 }