Revision: 73039
http://sourceforge.net/p/brlcad/code/73039
Author: brlcad
Date: 2019-05-10 04:33:24 +0000 (Fri, 10 May 2019)
Log Message:
-----------
we only have 3 bits to play with (8 bits total) before we'll need to use to
change the serialization format, possibly to add more bit flags or otherwise
make more space for future serialization changes. thus, stub out the available
bits and leave a note about how to use the last bit.
Modified Paths:
--------------
brlcad/trunk/include/rt/geom.h
Modified: brlcad/trunk/include/rt/geom.h
===================================================================
--- brlcad/trunk/include/rt/geom.h 2019-05-09 22:08:25 UTC (rev 73038)
+++ brlcad/trunk/include/rt/geom.h 2019-05-10 04:33:24 UTC (rev 73039)
@@ -849,10 +849,14 @@
#define RT_BOT_PLATE_NOCOS 4
/* flags for bot_flags */
-#define RT_BOT_HAS_SURFACE_NORMALS 0x1 /**< @brief Has surface normals at each
face vertex */
-#define RT_BOT_USE_NORMALS 0x2 /**< @brief Use the surface normals if
they exist */
-#define RT_BOT_USE_FLOATS 0x4 /**< @brief Use the single precision
version of "tri_specific" during prep */
-#define RT_BOT_HAS_TEXTURE_UVS 0x8 /**< @brief Has uv texture coordinates
at each face vertex */
+#define RT_BOT_HAS_SURFACE_NORMALS 0x01 /**< @brief Has surface normals at
each face vertex */
+#define RT_BOT_USE_NORMALS 0x02 /**< @brief Use the surface normals if
they exist */
+#define RT_BOT_USE_FLOATS 0x04 /**< @brief Use the single precision
version of "tri_specific" during prep */
+#define RT_BOT_HAS_TEXTURE_UVS 0x08 /**< @brief Has uv texture coordinates
at each face vertex */
+#define RT_BOT_HAS_UNUSED1 0x10 /**< @brief TBD */
+#define RT_BOT_HAS_UNUSED2 0x20 /**< @brief TBD */
+#define RT_BOT_HAS_UNUSED3 0x40 /**< @brief TBD */
+#define RT_BOT_HAS_UNUSED4 0x80 /**< @brief WARNING: use this flag to
denote more bits in the export serialization */
#define RT_BOT_CK_MAGIC(_p) BU_CKMAG(_p, RT_BOT_INTERNAL_MAGIC,
"rt_bot_internal")
/** @} */
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits