From c37de3871664cc5b3baf48a4b423b7a08f77bbf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20T=C3=B6nne?= Date: Wed, 5 Nov 2014 19:17:39 +0100 Subject: New debug element "circle" for simulations, which is quite useful for visualizing scalar fields. --- source/blender/blenkernel/BKE_effect.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/blenkernel/BKE_effect.h') diff --git a/source/blender/blenkernel/BKE_effect.h b/source/blender/blenkernel/BKE_effect.h index 04853bbb163..6688cd33e84 100644 --- a/source/blender/blenkernel/BKE_effect.h +++ b/source/blender/blenkernel/BKE_effect.h @@ -150,6 +150,7 @@ typedef struct SimDebugElement { typedef enum eSimDebugElement_Type { SIM_DEBUG_ELEM_DOT, + SIM_DEBUG_ELEM_CIRCLE, SIM_DEBUG_ELEM_LINE, SIM_DEBUG_ELEM_VECTOR, } eSimDebugElement_Type; @@ -160,6 +161,7 @@ typedef struct 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, const char *category, int hash); +void BKE_sim_debug_data_add_circle(struct SimDebugData *debug_data, const float p[3], const float radius, 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); -- cgit v1.2.3