diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-03-11 10:56:51 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-03-11 10:56:51 +0400 |
commit | 2d801f2bec3c4de663f33b0f0f198a12f09ef989 (patch) | |
tree | dfe16a3ca2213bd5b6579ed3bc2ac2902b678067 /source/blender/freestyle/intern/stroke/CurveIterators.h | |
parent | 4a92d82626980d6d1690113b9d27aae282fd48eb (diff) |
Another big code clean-up patch from Bastien Montagne, thanks again!
Diffstat (limited to 'source/blender/freestyle/intern/stroke/CurveIterators.h')
-rw-r--r-- | source/blender/freestyle/intern/stroke/CurveIterators.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/freestyle/intern/stroke/CurveIterators.h b/source/blender/freestyle/intern/stroke/CurveIterators.h index 7d9e0e00ef1..e3c63aefd5b 100644 --- a/source/blender/freestyle/intern/stroke/CurveIterators.h +++ b/source/blender/freestyle/intern/stroke/CurveIterators.h @@ -41,9 +41,9 @@ namespace CurveInternal { /*! iterator on a curve. Allows an iterating outside -* initial vertices. A CurvePoint is instanciated an returned -* when the iterator is dereferenced. -*/ + * initial vertices. A CurvePoint is instanciated an returned + * when the iterator is dereferenced. + */ class CurvePointIterator : public Interface0DIteratorNested { @@ -128,7 +128,7 @@ protected: } public: - virtual CurvePointIterator* copy() const + virtual CurvePointIterator *copy() const { return new CurvePointIterator(*this); } @@ -160,7 +160,7 @@ public: // comparibility virtual bool operator==(const Interface0DIteratorNested& b) const { - const CurvePointIterator* it_exact = dynamic_cast<const CurvePointIterator*>(&b); + const CurvePointIterator *it_exact = dynamic_cast<const CurvePointIterator*>(&b); if (!it_exact) return false; return ((__A == it_exact->__A) && (__B == it_exact->__B) && (_t == it_exact->_t)); @@ -172,7 +172,7 @@ public: return (_Point = CurvePoint(*__A, *__B, _t)); } - virtual CurvePoint* operator->() + virtual CurvePoint *operator->() { return &(operator*()); } |