diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:21:24 +0300 |
commit | e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch) | |
tree | 8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/freestyle/intern/scene_graph/OrientedLineRep.h | |
parent | b3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff) |
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
Diffstat (limited to 'source/blender/freestyle/intern/scene_graph/OrientedLineRep.h')
-rw-r--r-- | source/blender/freestyle/intern/scene_graph/OrientedLineRep.h | 55 |
1 files changed, 32 insertions, 23 deletions
diff --git a/source/blender/freestyle/intern/scene_graph/OrientedLineRep.h b/source/blender/freestyle/intern/scene_graph/OrientedLineRep.h index af06840419e..2e39259077e 100644 --- a/source/blender/freestyle/intern/scene_graph/OrientedLineRep.h +++ b/source/blender/freestyle/intern/scene_graph/OrientedLineRep.h @@ -28,30 +28,39 @@ namespace Freestyle { -class OrientedLineRep : public LineRep -{ -public: - OrientedLineRep() : LineRep() {} - /*! Builds a single line from 2 vertices - * v1 - * first vertex - * v2 - * second vertex - */ - inline OrientedLineRep(const Vec3r& v1, const Vec3r& v2) : LineRep(v1, v2) {} - - /*! Builds a line rep from a vertex chain */ - inline OrientedLineRep(const vector<Vec3r>& vertices) : LineRep(vertices) {} - - /*! Builds a line rep from a vertex chain */ - inline OrientedLineRep(const list<Vec3r>& vertices) : LineRep(vertices) {} - - virtual ~OrientedLineRep() {} - - /*! Accept the corresponding visitor */ - virtual void accept(SceneVisitor& v); +class OrientedLineRep : public LineRep { + public: + OrientedLineRep() : LineRep() + { + } + /*! Builds a single line from 2 vertices + * v1 + * first vertex + * v2 + * second vertex + */ + inline OrientedLineRep(const Vec3r &v1, const Vec3r &v2) : LineRep(v1, v2) + { + } + + /*! Builds a line rep from a vertex chain */ + inline OrientedLineRep(const vector<Vec3r> &vertices) : LineRep(vertices) + { + } + + /*! Builds a line rep from a vertex chain */ + inline OrientedLineRep(const list<Vec3r> &vertices) : LineRep(vertices) + { + } + + virtual ~OrientedLineRep() + { + } + + /*! Accept the corresponding visitor */ + virtual void accept(SceneVisitor &v); }; } /* namespace Freestyle */ -#endif // __FREESTYLE_ORIENTED_LINE_REP_H__ +#endif // __FREESTYLE_ORIENTED_LINE_REP_H__ |