diff options
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__ |