Revision: 45523
http://brlcad.svn.sourceforge.net/brlcad/?rev=45523&view=rev
Author: brlcad
Date: 2011-07-17 23:33:42 +0000 (Sun, 17 Jul 2011)
Log Message:
-----------
FIXME, should not need to declare all liboptical shaders used by
libmultispectral. in theory, multispectral can use all of them and having to
list shaders in three places really sucks. could give multispectral a prefix
or suffix so it's a different var, but they shouldn't even be globals.
Modified Paths:
--------------
brlcad/trunk/include/optical.h
Modified: brlcad/trunk/include/optical.h
===================================================================
--- brlcad/trunk/include/optical.h 2011-07-16 10:44:08 UTC (rev 45522)
+++ brlcad/trunk/include/optical.h 2011-07-17 23:33:42 UTC (rev 45523)
@@ -91,6 +91,13 @@
OPTICAL_EXPORT extern const char *optical_version(void);
/* for libmultispectral */
+
+/* FIXME: these should not need to be declared for libmultispectral.
+ * breaks encapsulation/modularity of shaders if we have to list them
+ * in more than one place. maybe give multispectral arrays their own
+ * suffix so as not to conflict.
+ */
+
OPTICAL_EXPORT extern struct mfuncs camo_mfuncs[];
OPTICAL_EXPORT extern struct mfuncs light_mfuncs[];
OPTICAL_EXPORT extern struct mfuncs stk_mfuncs[];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits