diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-06-02 10:31:31 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-06-02 10:31:31 +0400 |
commit | 7378aac2cb4770fd5ebd4d4c15c7369d9a8a5f7a (patch) | |
tree | 64ed6785ca3d43209fb4330419c10ac8d4afabcd /source/blender/freestyle/intern/view_map | |
parent | d4c078b887adef4697c74e9c340525189f2fb2d6 (diff) |
Freestyle: Minor fixes.
- Fixed a typo in docstring.
- Replaced int with boolean constants.
- Updated lists of base classes for used-defined unary 0D/1D functions.
Diffstat (limited to 'source/blender/freestyle/intern/view_map')
-rw-r--r-- | source/blender/freestyle/intern/view_map/Functions0D.h | 12 | ||||
-rw-r--r-- | source/blender/freestyle/intern/view_map/Functions1D.h | 9 |
2 files changed, 13 insertions, 8 deletions
diff --git a/source/blender/freestyle/intern/view_map/Functions0D.h b/source/blender/freestyle/intern/view_map/Functions0D.h index 045ad317db2..647a3a530c6 100644 --- a/source/blender/freestyle/intern/view_map/Functions0D.h +++ b/source/blender/freestyle/intern/view_map/Functions0D.h @@ -65,13 +65,17 @@ using namespace Geometry; * \attention In the scripting language, there exists several prototypes depending on the returned value type. * For example, you would inherit from a UnaryFunction0DDouble if you wish to define a function that returns a double. * The different existing prototypes are: - * - UnaryFunction0DVoid - * - UnaryFunction0DUnsigned - * - UnaryFunction0DReal - * - UnaryFunction0DFloat * - UnaryFunction0DDouble + * - UnaryFunction0DEdgeNature + * - UnaryFunction0DFloat + * - UnaryFunction0DId + * - UnaryFunction0DMaterial + * - UnaryFunction0DUnsigned * - UnaryFunction0DVec2f * - UnaryFunction0DVec3f + * - UnaryFunction0DVectorViewShape + * - UnaryFunction0DViewShape + * - UnaryFunction0DVoid */ template <class T> class UnaryFunction0D diff --git a/source/blender/freestyle/intern/view_map/Functions1D.h b/source/blender/freestyle/intern/view_map/Functions1D.h index 0821475ca9c..d2a5870f27a 100644 --- a/source/blender/freestyle/intern/view_map/Functions1D.h +++ b/source/blender/freestyle/intern/view_map/Functions1D.h @@ -55,13 +55,14 @@ namespace Freestyle { * \attention In the scripting language, there exists several prototypes depending on the returned value type. * For example, you would inherit from a UnaryFunction1DDouble if you wish to define a function that returns a double. * The different existing prototypes are: - * - UnaryFunction1DVoid - * - UnaryFunction1DUnsigned - * - UnaryFunction1DReal - * - UnaryFunction1DFloat * - UnaryFunction1DDouble + * - UnaryFunction1DEdgeNature + * - UnaryFunction1DFloat + * - UnaryFunction1DUnsigned * - UnaryFunction1DVec2f * - UnaryFunction1DVec3f + * - UnaryFunction1DVectorViewShape + * - UnaryFunction1DVoid */ template <class T> class UnaryFunction1D |