diff options
author | Maxime Curioni <maxime.curioni@gmail.com> | 2008-07-22 01:24:37 +0400 |
---|---|---|
committer | Maxime Curioni <maxime.curioni@gmail.com> | 2008-07-22 01:24:37 +0400 |
commit | 7426a3e35bb6ebc5c08eb307c0f9d30ef51ae570 (patch) | |
tree | 20ca168e42005a447ce4a89f37b3a238a92942cb /source/blender/freestyle/intern/stroke/AdvancedFunctions0D.h | |
parent | ab722884d3684808b17f76ae742ef59dccf4f8e2 (diff) |
Added StrokeAttribute class. Beginning of StrokeVertex.
IMPORTANT: The setters functions' names were normalized due to constant confusion regarding capitalization. All the function names start with set... instead of Set.... This convention was changed all throughout Freestyle. To use Freestyle as an external renderer, the SWIG library MUST be regenerated.
Diffstat (limited to 'source/blender/freestyle/intern/stroke/AdvancedFunctions0D.h')
-rwxr-xr-x | source/blender/freestyle/intern/stroke/AdvancedFunctions0D.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/stroke/AdvancedFunctions0D.h b/source/blender/freestyle/intern/stroke/AdvancedFunctions0D.h index d92575cf110..9eee6714b09 100755 --- a/source/blender/freestyle/intern/stroke/AdvancedFunctions0D.h +++ b/source/blender/freestyle/intern/stroke/AdvancedFunctions0D.h @@ -59,7 +59,7 @@ namespace Functions0D { * value. (the larger, the smoother) */ DensityF0D(double sigma = 2) : UnaryFunction0D<double>() { - _filter.SetSigma((float)sigma); + _filter.setSigma((float)sigma); } /*! Returns the string "DensityF0D"*/ string getName() const { @@ -87,7 +87,7 @@ namespace Functions0D { * will be used. */ LocalAverageDepthF0D(real maskSize=5.f) : UnaryFunction0D<double>() { - _filter.SetSigma((float)maskSize/2.f); + _filter.setSigma((float)maskSize/2.f); } /*! Returns the string "LocalAverageDepthF0D"*/ string getName() const { |