diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-01-17 05:40:30 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-01-17 05:45:32 +0300 |
commit | 63c848da26c29549ca9067641c07aa5d821d42aa (patch) | |
tree | d354302b0b921411bf6830e068118dd0f5bc79a2 /source/blender/editors/gpencil | |
parent | e10a6f987bf2d541eda89842bc47c3eb3a745631 (diff) |
Cleanup: spelling
Also use doxy formatting for warning/note.
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_utils.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/source/blender/editors/gpencil/gpencil_utils.c b/source/blender/editors/gpencil/gpencil_utils.c index 36508751d08..a23628e6507 100644 --- a/source/blender/editors/gpencil/gpencil_utils.c +++ b/source/blender/editors/gpencil/gpencil_utils.c @@ -497,11 +497,14 @@ void gp_point_to_xy(GP_SpaceConversion *gsc, bGPDstroke *gps, bGPDspoint *pt, } } -/* Project screenspace coordinates to 3D-space - * NOTE: We include this as a utility function, since the standard method - * involves quite a few steps, which are invariably always the same - * for all GPencil operations. So, it's nicer to just centralise these. - * WARNING: Assumes that it is getting called in a 3D view only +/** + * Project screenspace coordinates to 3D-space + * + * \note We include this as a utility function, since the standard method + * involves quite a few steps, which are invariably always the same + * for all GPencil operations. So, it's nicer to just centralize these. + * + * \warning Assumes that it is getting called in a 3D view only. */ bool gp_point_xy_to_3d(GP_SpaceConversion *gsc, Scene *scene, const float screen_co[2], float r_out[3]) { |