diff options
Diffstat (limited to 'source/blender/freestyle/intern/winged_edge/Nature.h')
-rw-r--r-- | source/blender/freestyle/intern/winged_edge/Nature.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/source/blender/freestyle/intern/winged_edge/Nature.h b/source/blender/freestyle/intern/winged_edge/Nature.h index 68323d7122c..996161abee2 100644 --- a/source/blender/freestyle/intern/winged_edge/Nature.h +++ b/source/blender/freestyle/intern/winged_edge/Nature.h @@ -23,44 +23,44 @@ namespace Freestyle { -/*! Namespace gathering the different possible natures of 0D and 1D elements of the ViewMap */ +/** Namespace gathering the different possible natures of 0D and 1D elements of the ViewMap */ namespace Nature { /* XXX Why not using enums??? */ /* In order to optimize for space (enum is int) - T.K. */ typedef unsigned short VertexNature; -/*! true for any 0D element */ +/** true for any 0D element */ static const VertexNature POINT = 0; // 0 -/*! true for SVertex */ +/** true for SVertex */ static const VertexNature S_VERTEX = (1 << 0); // 1 -/*! true for ViewVertex */ +/** true for ViewVertex */ static const VertexNature VIEW_VERTEX = (1 << 1); // 2 -/*! true for NonTVertex */ +/** true for NonTVertex */ static const VertexNature NON_T_VERTEX = (1 << 2); // 4 -/*! true for TVertex */ +/** true for TVertex */ static const VertexNature T_VERTEX = (1 << 3); // 8 -/*! true for CUSP */ +/** true for CUSP */ static const VertexNature CUSP = (1 << 4); // 16 typedef unsigned short EdgeNature; -/*! true for non feature edges (always false for 1D elements of the ViewMap) */ +/** true for non feature edges (always false for 1D elements of the ViewMap) */ static const EdgeNature NO_FEATURE = 0; // 0 -/*! true for silhouettes */ +/** true for silhouettes */ static const EdgeNature SILHOUETTE = (1 << 0); // 1 -/*! true for borders */ +/** true for borders */ static const EdgeNature BORDER = (1 << 1); // 2 -/*! true for creases */ +/** true for creases */ static const EdgeNature CREASE = (1 << 2); // 4 -/*! true for ridges */ +/** true for ridges */ static const EdgeNature RIDGE = (1 << 3); // 8 -/*! true for valleys */ +/** true for valleys */ static const EdgeNature VALLEY = (1 << 4); // 16 -/*! true for suggestive contours */ +/** true for suggestive contours */ static const EdgeNature SUGGESTIVE_CONTOUR = (1 << 5); // 32 -/*! true for material boundaries */ +/** true for material boundaries */ static const EdgeNature MATERIAL_BOUNDARY = (1 << 6); // 64 -/*! true for user-defined edge marks */ +/** true for user-defined edge marks */ static const EdgeNature EDGE_MARK = (1 << 7); // 128 } // end of namespace Nature |