From 61776befc3f88c373e47ccbdf8c75e2ca0f4e987 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 9 Dec 2021 00:55:11 +1100 Subject: Cleanup: move public doc-strings into headers for 'editors' Ref T92709 --- source/blender/editors/gizmo_library/gizmo_library_intern.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source/blender/editors/gizmo_library/gizmo_library_intern.h') diff --git a/source/blender/editors/gizmo_library/gizmo_library_intern.h b/source/blender/editors/gizmo_library/gizmo_library_intern.h index f3670708543..a75a6b9a6ef 100644 --- a/source/blender/editors/gizmo_library/gizmo_library_intern.h +++ b/source/blender/editors/gizmo_library/gizmo_library_intern.h @@ -78,6 +78,10 @@ void gizmo_property_value_reset(bContext *C, void gizmo_color_get(const struct wmGizmo *gz, const bool highlight, float r_color[4]); +/** + * Takes mouse coordinates and returns them in relation to the gizmo. + * Both 2D & 3D supported, use so we can use 2D gizmos in the 3D view. + */ bool gizmo_window_project_2d(bContext *C, const struct wmGizmo *gz, const float mval[2], @@ -93,6 +97,9 @@ bool gizmo_window_project_3d( #include "gizmo_geometry.h" +/** + * Main draw call for #GizmoGeomInfo data + */ void wm_gizmo_geometryinfo_draw(const struct GizmoGeomInfo *info, const bool select, const float color[4]); -- cgit v1.2.3