diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2011-01-08 04:45:02 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2011-01-08 04:45:02 +0300 |
commit | 053776bf577b6554ccb2c63253f6c0bfd99d5de0 (patch) | |
tree | abc8522e18d69eb3b366c2ad10a6f604334da68a /source/blender/blenkernel/BKE_brush.h | |
parent | 2579347a9a2018326b1f1a9aebcfa59a46f71084 (diff) |
Sculpt/Paint:
More cleanups: moved a function declaration to the correct module,
removed old/incorrect comments, marked more things with TODO where
appropriate, refactored copy-pasted function, de-duplicated code.
Diffstat (limited to 'source/blender/blenkernel/BKE_brush.h')
-rw-r--r-- | source/blender/blenkernel/BKE_brush.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_brush.h b/source/blender/blenkernel/BKE_brush.h index 5afab9af9b3..deb10ef6d35 100644 --- a/source/blender/blenkernel/BKE_brush.h +++ b/source/blender/blenkernel/BKE_brush.h @@ -56,6 +56,9 @@ int brush_texture_delete(struct Brush *brush); int brush_clone_image_set_nr(struct Brush *brush, int nr); int brush_clone_image_delete(struct Brush *brush); +/* jitter */ +void brush_jitter_pos(struct Brush *brush, float *pos, float *jitterpos); + /* brush curve */ void brush_curve_preset(struct Brush *b, /*enum CurveMappingPreset*/int preset); float brush_curve_strength_clamp(struct Brush *br, float p, const float len); |