diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_effect.h')
-rw-r--r-- | source/blender/blenkernel/BKE_effect.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/source/blender/blenkernel/BKE_effect.h b/source/blender/blenkernel/BKE_effect.h index 852f9de4c09..04853bbb163 100644 --- a/source/blender/blenkernel/BKE_effect.h +++ b/source/blender/blenkernel/BKE_effect.h @@ -139,8 +139,10 @@ int get_effector_data(struct EffectorCache *eff, struct EffectorData *efd, struc /* ======== Simulation Debugging ======== */ typedef struct SimDebugElement { - int type; + int category_hash; int hash; + + int type; float color[3]; float v1[3], v2[3]; @@ -157,11 +159,12 @@ typedef struct SimDebugData { } SimDebugData; struct SimDebugData *BKE_sim_debug_data_new(void); -void BKE_sim_debug_data_add_dot(struct SimDebugData *debug_data, const float p[3], float r, float g, float b, int hash); -void BKE_sim_debug_data_add_line(struct SimDebugData *debug_data, const float p1[3], const float p2[3], float r, float g, float b, int hash); -void BKE_sim_debug_data_add_vector(struct SimDebugData *debug_data, const float p[3], const float d[3], float r, float g, float b, int hash); +void BKE_sim_debug_data_add_dot(struct SimDebugData *debug_data, const float p[3], float r, float g, float b, const char *category, int hash); +void BKE_sim_debug_data_add_line(struct SimDebugData *debug_data, const float p1[3], const float p2[3], float r, float g, float b, const char *category, int hash); +void BKE_sim_debug_data_add_vector(struct SimDebugData *debug_data, const float p[3], const float d[3], float r, float g, float b, const char *category, int hash); void BKE_sim_debug_data_remove(struct SimDebugData *debug_data, int hash); void BKE_sim_debug_data_clear(struct SimDebugData *debug_data); +void BKE_sim_debug_data_clear_category(struct SimDebugData *debug_data, const char *category); void BKE_sim_debug_data_free(struct SimDebugData *debug_data); #endif |