Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_view3d.h
| Show First 20 Lines • Show All 346 Lines • ▼ Show 20 Lines | |||||
| int view3d_opengl_select( | int view3d_opengl_select( | ||||
| const struct EvaluationContext *eval_ctx, struct ViewContext *vc, unsigned int *buffer, unsigned int bufsize, const struct rcti *input, | const struct EvaluationContext *eval_ctx, struct ViewContext *vc, unsigned int *buffer, unsigned int bufsize, const struct rcti *input, | ||||
| eV3DSelectMode select_mode); | eV3DSelectMode select_mode); | ||||
| /* view3d_select.c */ | /* view3d_select.c */ | ||||
| float ED_view3d_select_dist_px(void); | float ED_view3d_select_dist_px(void); | ||||
| void ED_view3d_viewcontext_init(struct bContext *C, struct ViewContext *vc); | void ED_view3d_viewcontext_init(struct bContext *C, struct ViewContext *vc); | ||||
| void ED_view3d_viewcontext_init_object(struct ViewContext *vc, struct Object *obact); | |||||
| void view3d_operator_needs_opengl(const struct bContext *C); | void view3d_operator_needs_opengl(const struct bContext *C); | ||||
| void view3d_region_operator_needs_opengl(struct wmWindow *win, struct ARegion *ar); | void view3d_region_operator_needs_opengl(struct wmWindow *win, struct ARegion *ar); | ||||
| void view3d_opengl_read_pixels(struct ARegion *ar, int x, int y, int w, int h, int format, int type, void *data); | void view3d_opengl_read_pixels(struct ARegion *ar, int x, int y, int w, int h, int format, int type, void *data); | ||||
| /* XXX should move to BLI_math */ | /* XXX should move to BLI_math */ | ||||
| bool edge_inside_circle(const float cent[2], float radius, const float screen_co_a[2], const float screen_co_b[2]); | bool edge_inside_circle(const float cent[2], float radius, const float screen_co_a[2], const float screen_co_b[2]); | ||||
| /* get 3d region from context, also if mouse is in header or toolbar */ | /* get 3d region from context, also if mouse is in header or toolbar */ | ||||
| ▲ Show 20 Lines • Show All 131 Lines • Show Last 20 Lines | |||||