From ad47b0236e32dc9a583a0d7209d8030bbb7c358e Mon Sep 17 00:00:00 2001 From: Charlie Jolly Date: Wed, 5 Dec 2018 18:48:27 +0000 Subject: GP: Refactor coordinates to float See: D4030 Differential Revision: https://developer.blender.org/D4036 --- source/blender/editors/gpencil/gpencil_intern.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'source/blender/editors/gpencil/gpencil_intern.h') diff --git a/source/blender/editors/gpencil/gpencil_intern.h b/source/blender/editors/gpencil/gpencil_intern.h index 6d05afa0e8d..50ae61209cc 100644 --- a/source/blender/editors/gpencil/gpencil_intern.h +++ b/source/blender/editors/gpencil/gpencil_intern.h @@ -196,7 +196,7 @@ typedef struct GP_SpaceConversion { } GP_SpaceConversion; bool gp_stroke_inside_circle( - const int mval[2], const int UNUSED(mvalo[2]), + const float mval[2], const float UNUSED(mvalo[2]), int rad, int x0, int y0, int x1, int y1); void gp_point_conversion_init(struct bContext *C, GP_SpaceConversion *r_gsc); @@ -228,13 +228,6 @@ void gp_stroke_convertcoords_tpoint( bGPDlayer *gpl, const struct tGPspoint *point2D, float *depth, float out[3]); -/* helper to convert 2d to 3d for primitive. See: D4030 */ -void gp_stroke_convertcoords_tpoint_primitive( - struct Scene *scene, struct ARegion *ar, - struct Object *ob, - bGPDlayer *gpl, const struct tPGPspoint *point2D, - float out[3]); - /* Poll Callbacks ------------------------------------ */ /* gpencil_utils.c */ -- cgit v1.2.3