Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2018-07-16 21:07:13 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-07-16 21:08:09 +0300
commitdb374d665875af0673ab576779649e0f2ee45704 (patch)
treee185bd260779e40289ef4c7e766af3d9321b5d87 /source/blender/draw/intern/draw_debug.h
parent1f69ffd35b08768e8605496be4389e6bbea39ba7 (diff)
DRWDebug: Add new debug functions for spheres and matrices.
Diffstat (limited to 'source/blender/draw/intern/draw_debug.h')
-rw-r--r--source/blender/draw/intern/draw_debug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_debug.h b/source/blender/draw/intern/draw_debug.h
index 1dab431fc88..319d2674279 100644
--- a/source/blender/draw/intern/draw_debug.h
+++ b/source/blender/draw/intern/draw_debug.h
@@ -34,6 +34,8 @@ void DRW_debug_modelmat(const float modelmat[4][4]);
void DRW_debug_line_v3v3(const float v1[3], const float v2[3], const float color[4]);
void DRW_debug_polygon_v3(const float (*v)[3], const int vert_len, const float color[4]);
void DRW_debug_m4(const float m[4][4]);
+void DRW_debug_m4_as_bbox(const float m[4][4], const float color[4], const bool invert);
void DRW_debug_bbox(const BoundBox *bbox, const float color[4]);
+void DRW_debug_sphere(const float center[3], const float radius, const float color[4]);
#endif /* __DRAW_DEBUG_H__ */