Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2020-06-22 20:27:58 +0300
committerAntonio Vazquez <blendergit@gmail.com>2020-06-22 20:27:58 +0300
commit3cea42ce29cb986cf9614d9b712d72915d52e546 (patch)
tree1802dc0301d0ccbdc2850b16252841464f9e7a6e /source/blender/editors/include
parent9fbbd25e2a4cf7dfed121e23642ff92bb63a40df (diff)
GPencil: Cleanup comments
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r--source/blender/editors/include/ED_gpencil.h27
1 files changed, 18 insertions, 9 deletions
diff --git a/source/blender/editors/include/ED_gpencil.h b/source/blender/editors/include/ED_gpencil.h
index 2a1d9c2dd6c..3b0db27e58d 100644
--- a/source/blender/editors/include/ED_gpencil.h
+++ b/source/blender/editors/include/ED_gpencil.h
@@ -87,15 +87,24 @@ typedef enum eGP_ReprojectModes {
* Used as part of the 'stroke cache' used during drawing of new strokes
*/
typedef struct tGPspoint {
- float x, y; /* x and y coordinates of cursor (in relative to area) */
- float pressure; /* pressure of tablet at this point */
- float strength; /* pressure of tablet at this point for alpha factor */
- float time; /* Time relative to stroke start (used when converting to path) */
- float uv_fac; /* factor of uv along the stroke */
- float uv_rot; /* uv rotation for dor mode */
- float rnd[3]; /* rnd value */
- bool rnd_dirty; /* rnd flag */
- float vert_color[4]; /* Point vertex color. */
+ /** Coordinates x and y of cursor (in relative to area). */
+ float x, y;
+ /** Pressure of tablet at this point. */
+ float pressure;
+ /** Pressure of tablet at this point for alpha factor. */
+ float strength;
+ /** Time relative to stroke start (used when converting to path). */
+ float time;
+ /** Factor of uv along the stroke. */
+ float uv_fac;
+ /** UV rotation for dot mode. */
+ float uv_rot;
+ /** Random value. */
+ float rnd[3];
+ /** Random flag. */
+ bool rnd_dirty;
+ /** Point vertex color. */
+ float vert_color[4];
} tGPspoint;
/* ----------- Grease Pencil Tools/Context ------------- */