Text archives Help
- From: "Solomon Boulos" <boulos@cs.utah.edu>
- To: manta@sci.utah.edu
- Subject: [Manta] r2100 - trunk/Interface
- Date: Wed, 20 Feb 2008 11:57:56 -0700 (MST)
Author: boulos
Date: Wed Feb 20 11:57:54 2008
New Revision: 2100
Modified:
trunk/Interface/Packet.h
Log:
Packet.h
Using the RGB typedef causes tons of headache for Win32 builds (order of
include problems). Use RGBColor in headers when possible, especially in
Interface.
Modified: trunk/Interface/Packet.h
==============================================================================
--- trunk/Interface/Packet.h (original)
+++ trunk/Interface/Packet.h Wed Feb 20 11:57:54 2008
@@ -33,7 +33,7 @@
};
MANTA_ALIGN(16) Color::ComponentType
colordata[Color::NumComponents][MaxSize];
Color get(int idx) const {
- return Color(RGB(colordata[0][idx], colordata[1][idx],
colordata[2][idx]));
+ return Color(RGBColor(colordata[0][idx], colordata[1][idx],
colordata[2][idx]));
}
void set(int idx, const Color& value) {
colordata[0][idx] = value[0];
- [Manta] r2100 - trunk/Interface, Solomon Boulos, 02/20/2008
Archive powered by MHonArc 2.6.16.