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:
2019-04-17 06:17:24 +02:00
parent b3dabc200a
commit e12c08e8d1
4481 changed files with 1230080 additions and 1155401 deletions

View File

@@ -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__