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
This commit is contained in:
@@ -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) {}
|
||||
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 vector<Vec3r> &vertices) : LineRep(vertices)
|
||||
{
|
||||
}
|
||||
|
||||
/*! Builds a line rep from a vertex chain */
|
||||
inline OrientedLineRep(const list<Vec3r>& vertices) : LineRep(vertices) {}
|
||||
/*! Builds a line rep from a vertex chain */
|
||||
inline OrientedLineRep(const list<Vec3r> &vertices) : LineRep(vertices)
|
||||
{
|
||||
}
|
||||
|
||||
virtual ~OrientedLineRep() {}
|
||||
virtual ~OrientedLineRep()
|
||||
{
|
||||
}
|
||||
|
||||
/*! Accept the corresponding visitor */
|
||||
virtual void accept(SceneVisitor& v);
|
||||
/*! Accept the corresponding visitor */
|
||||
virtual void accept(SceneVisitor &v);
|
||||
};
|
||||
|
||||
} /* namespace Freestyle */
|
||||
|
||||
#endif // __FREESTYLE_ORIENTED_LINE_REP_H__
|
||||
#endif // __FREESTYLE_ORIENTED_LINE_REP_H__
|
||||
|
||||
Reference in New Issue
Block a user