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/winged_edge/Nature.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/winged_edge/Nature.h')
-rw-r--r-- | source/blender/freestyle/intern/winged_edge/Nature.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/source/blender/freestyle/intern/winged_edge/Nature.h b/source/blender/freestyle/intern/winged_edge/Nature.h index 71b306ed2d5..91f9f63b412 100644 --- a/source/blender/freestyle/intern/winged_edge/Nature.h +++ b/source/blender/freestyle/intern/winged_edge/Nature.h @@ -32,40 +32,40 @@ namespace Nature { typedef unsigned short VertexNature; /*! true for any 0D element */ -static const VertexNature POINT = 0; // 0 +static const VertexNature POINT = 0; // 0 /*! true for SVertex */ -static const VertexNature S_VERTEX = (1 << 0); // 1 +static const VertexNature S_VERTEX = (1 << 0); // 1 /*! true for ViewVertex */ -static const VertexNature VIEW_VERTEX = (1 << 1); // 2 +static const VertexNature VIEW_VERTEX = (1 << 1); // 2 /*! true for NonTVertex */ -static const VertexNature NON_T_VERTEX = (1 << 2); // 4 +static const VertexNature NON_T_VERTEX = (1 << 2); // 4 /*! true for TVertex */ -static const VertexNature T_VERTEX = (1 << 3); // 8 +static const VertexNature T_VERTEX = (1 << 3); // 8 /*! true for CUSP */ -static const VertexNature CUSP = (1 << 4); // 16 +static const VertexNature CUSP = (1 << 4); // 16 typedef unsigned short EdgeNature; /*! true for non feature edges (always false for 1D elements of the ViewMap) */ -static const EdgeNature NO_FEATURE = 0; // 0 +static const EdgeNature NO_FEATURE = 0; // 0 /*! true for silhouettes */ -static const EdgeNature SILHOUETTE = (1 << 0); // 1 +static const EdgeNature SILHOUETTE = (1 << 0); // 1 /*! true for borders */ -static const EdgeNature BORDER = (1 << 1); // 2 +static const EdgeNature BORDER = (1 << 1); // 2 /*! true for creases */ -static const EdgeNature CREASE = (1 << 2); // 4 +static const EdgeNature CREASE = (1 << 2); // 4 /*! true for ridges */ -static const EdgeNature RIDGE = (1 << 3); // 8 +static const EdgeNature RIDGE = (1 << 3); // 8 /*! true for valleys */ -static const EdgeNature VALLEY = (1 << 4); // 16 +static const EdgeNature VALLEY = (1 << 4); // 16 /*! true for suggestive contours */ -static const EdgeNature SUGGESTIVE_CONTOUR = (1 << 5); // 32 +static const EdgeNature SUGGESTIVE_CONTOUR = (1 << 5); // 32 /*! true for material boundaries */ -static const EdgeNature MATERIAL_BOUNDARY = (1 << 6); // 64 +static const EdgeNature MATERIAL_BOUNDARY = (1 << 6); // 64 /*! true for user-defined edge marks */ -static const EdgeNature EDGE_MARK = (1 << 7); // 128 +static const EdgeNature EDGE_MARK = (1 << 7); // 128 -} // end of namespace Nature +} // end of namespace Nature } /* namespace Freestyle */ -#endif // __FREESTYLE_NATURE_H__ +#endif // __FREESTYLE_NATURE_H__ |