Blender
V3.3
|
Go to the source code of this file.
Functions | |
void | DRW_debug_modelmat_reset (void) |
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], 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], bool invert) |
void | DRW_debug_bbox (const BoundBox *bbox, const float color[4]) |
void | DRW_debug_sphere (const float center[3], float radius, const float color[4]) |
Definition at line 74 of file draw_debug.c.
References color, DRW_debug_line_v3v3(), and BoundBox::vec.
Referenced by DRW_debug_m4_as_bbox(), DRW_view_update(), sculpt_debug_cb(), and workbench_shadow_cache_populate().
Definition at line 39 of file draw_debug.c.
References BLI_LINKS_PREPEND, DRWDebugLine::color, color, copy_v4_v4(), DRWManager::debug, DST, g_modelmat, DRWManager::lines, MEM_mallocN, mul_v3_m4v3(), DRWDebugLine::pos, v1, and v2.
Referenced by DRW_debug_bbox(), DRW_debug_m4(), and DRW_debug_polygon_v3().
Definition at line 57 of file draw_debug.c.
References DRW_debug_line_v3v3(), mul_m4_v3(), v1, and v2.
Definition at line 92 of file draw_debug.c.
References BKE_boundbox_init_from_minmax(), color, copy_m4_m4(), DRW_debug_bbox(), invert(), invert_m4_m4(), max, min, mul_project_m4_v3(), and BoundBox::vec.
Definition at line 34 of file draw_debug.c.
References copy_m4_m4(), and g_modelmat.
Referenced by drw_sculpt_generate_calls().
Definition at line 29 of file draw_debug.c.
References g_modelmat, and unit_m4().
Referenced by drw_debug_init().
Definition at line 48 of file draw_debug.c.
References BLI_assert, color, DRW_debug_line_v3v3(), and v.
Definition at line 111 of file draw_debug.c.
References BLI_LINKS_PREPEND, center, DRWDebugSphere::color, color, copy_m4_m4(), copy_v4_v4(), DRWManager::debug, DST, g_modelmat, DRWDebugSphere::mat, MEM_mallocN, mul_m4_m4m4(), scale_m4_fl(), DRWManager::spheres, and translate_m4().
Referenced by draw_compute_culling(), DRW_view_update(), shadow_cascade_random_matrix_set(), and shadow_cube_random_position_set().