Revision: 45790
http://brlcad.svn.sourceforge.net/brlcad/?rev=45790&view=rev
Author: brlcad
Date: 2011-08-05 15:56:03 +0000 (Fri, 05 Aug 2011)
Log Message:
-----------
move RED/GRN/BLU from fbio to bu given how fundamental the need for indexing
into an rgb[3] array is.
Modified Paths:
--------------
brlcad/trunk/include/bu.h
brlcad/trunk/include/fbio.h
Modified: brlcad/trunk/include/bu.h
===================================================================
--- brlcad/trunk/include/bu.h 2011-08-05 02:06:33 UTC (rev 45789)
+++ brlcad/trunk/include/bu.h 2011-08-05 15:56:03 UTC (rev 45790)
@@ -2184,9 +2184,15 @@
/** @} */
/*----------------------------------------------------------------------*/
/* color.c */
+
+#define RED 0
+#define GRN 1
+#define BLU 2
+
#define HUE 0
#define SAT 1
#define VAL 2
+
#define ACHROMATIC -1.0
struct bu_color
Modified: brlcad/trunk/include/fbio.h
===================================================================
--- brlcad/trunk/include/fbio.h 2011-08-05 02:06:33 UTC (rev 45789)
+++ brlcad/trunk/include/fbio.h 2011-08-05 15:56:03 UTC (rev 45790)
@@ -55,11 +55,7 @@
*/
typedef unsigned char RGBpixel[3];
-#define RED 0
-#define GRN 1
-#define BLU 2
-
/**
* C o l o r M a p
*
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits