diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_draw_legacy.c | 13 | ||||
-rw-r--r-- | source/blender/editors/space_view3d/view3d_intern.h | 1 |
2 files changed, 0 insertions, 14 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw_legacy.c b/source/blender/editors/space_view3d/view3d_draw_legacy.c index cba3f3dfb04..f7896de128e 100644 --- a/source/blender/editors/space_view3d/view3d_draw_legacy.c +++ b/source/blender/editors/space_view3d/view3d_draw_legacy.c @@ -110,19 +110,6 @@ static void view3d_stereo3d_setup_offscreen(Scene *scene, View3D *v3d, ARegion *ar, float winmat[4][4], const char *viewname); -void circ(float x, float y, float rad) -{ - glBegin(GL_LINE_LOOP); - const int segments = 32; - for (int i = 0; i < segments; ++i) { - float angle = 2 * M_PI * ((float)i / (float)segments); - glVertex2f(x + rad * cosf(angle), - y + rad * sinf(angle)); - } - glEnd(); -} - - /* ********* custom clipping *********** */ static void view3d_draw_clipping(RegionView3D *rv3d) diff --git a/source/blender/editors/space_view3d/view3d_intern.h b/source/blender/editors/space_view3d/view3d_intern.h index eb129c77644..db16f95d69b 100644 --- a/source/blender/editors/space_view3d/view3d_intern.h +++ b/source/blender/editors/space_view3d/view3d_intern.h @@ -221,7 +221,6 @@ void ED_view3d_draw_select_loop( void ED_view3d_after_add(ListBase *lb, BaseLegacy *base, const short dflag); -void circ(float x, float y, float rad); void view3d_update_depths_rect(struct ARegion *ar, struct ViewDepths *d, struct rcti *rect); float view3d_depth_near(struct ViewDepths *d); |