59#define RT_CHECK_COMB(_p) BU_CKMAG(_p, RT_COMB_MAGIC, "rt_comb_internal")
60#define RT_CK_COMB(_p) RT_CHECK_COMB(_p)
65#define RT_COMB_INTERNAL_INIT(_p) { \
66 (_p)->magic = RT_COMB_MAGIC; \
67 (_p)->tree = TREE_NULL; \
68 (_p)->region_flag = 0; \
69 (_p)->is_fastgen = REGION_NON_FASTGEN; \
70 (_p)->region_id = 0; \
72 (_p)->GIFTmater = 0; \
74 (_p)->rgb_valid = 0; \
78 (_p)->temperature = 0.0; \
79 BU_VLS_INIT(&(_p)->shader); \
80 BU_VLS_INIT(&(_p)->material); \
91#define RT_FREE_COMB_INTERNAL(_p) { \
92 bu_vls_free(&(_p)->shader); \
93 bu_vls_free(&(_p)->material); \
94 (_p)->tree = TREE_NULL; \
120#define RT_CHECK_BINUNIF(_p) BU_CKMAG(_p, RT_BINUNIF_INTERNAL_MAGIC, "rt_binunif_internal")
121#define RT_CK_BINUNIF(_p) RT_CHECK_BINUNIF(_p)
134#define RT_CHECK_CONSTRAINT(_p) BU_CKMAG(_p, RT_CONSTRAINT_MAGIC, "rt_constraint_internal")
135#define RT_CK_CONSTRAINT(_p) RT_CHECK_CONSTRAINT(_p)
152#define RT_CHECK_MATERIAL(_p) BU_CKMAG(_p, RT_MATERIAL_MAGIC, "rt_material_internal")
153#define RT_CK_MATERIAL(_p) RT_CHECK_MATERIAL(_p)
Header file for the BRL-CAD common definitions.
union rt_binunif_internal::@12 u
char rgb_valid
!0 ==> rgb[] has valid color
char region_flag
!0 ==> this COMB is a REGION
char is_fastgen
REGION_NON_FASTGEN/_PLATE/_VOLUME.
float temperature
> 0 ==> region temperature
union tree * tree
Leading to tree_db_leaf leaves.
struct bu_attribute_value_set mechanicalProperties
struct bu_attribute_value_set opticalProperties
struct bu_attribute_value_set thermalProperties
struct bu_attribute_value_set physicalProperties
fundamental vector, matrix, quaternion math macros