Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-03-30 12:54:50 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-03-30 12:54:50 +0400
commitb1f4e2b4db0065cd4243e5645c2157314e126ddc (patch)
treef1312ad2c6d740556fe3480233cc2b8d15bb246c /source/blender/bmesh/operators/bmo_beautify.c
parent96c2647676bbeaf8985ff5532caaf6eaa274c2de (diff)
code comments: bmesh operator doxy header descriptions.
Diffstat (limited to 'source/blender/bmesh/operators/bmo_beautify.c')
-rw-r--r--source/blender/bmesh/operators/bmo_beautify.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/source/blender/bmesh/operators/bmo_beautify.c b/source/blender/bmesh/operators/bmo_beautify.c
index adf8ed4df67..ed393a4affa 100644
--- a/source/blender/bmesh/operators/bmo_beautify.c
+++ b/source/blender/bmesh/operators/bmo_beautify.c
@@ -22,6 +22,19 @@
/** \file blender/bmesh/operators/bmo_beautify.c
* \ingroup bmesh
+ *
+ * Beautify the mesh by rotating edes between triangles
+ * to more attractive positions until no more rotations can be made.
+ *
+ * In princible this is very simple however there is the possability of
+ * going into an eternal loop where edges keep rotating.
+ * To avoid this - each edge stores a hash of it previous
+ * states so as not to rotate back.
+ *
+ * TODO
+ * - Take face normals into account.
+ * - Use a stack of rotations to perform the best onces first
+ * similar to edge-collapse-decimate.
*/
#include "BLI_math.h"