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:
authorMartin Poirier <theeth@yahoo.com>2008-07-15 23:38:48 +0400
committerMartin Poirier <theeth@yahoo.com>2008-07-15 23:38:48 +0400
commit08039ef38fa6d39f756860032659cc3678137ced (patch)
treeea8d68956b07c52a6547f81dd1c9a6d592f1f920 /source/blender/blenlib/BLI_graph.h
parentac6641664e79fee9b8e503c6db278f5739ddb317 (diff)
Optimization method selectable at runtime
Start multi resolution match from node, not arc (solve problem with Rinky) various uglyness being cleaned up or factored out
Diffstat (limited to 'source/blender/blenlib/BLI_graph.h')
-rw-r--r--source/blender/blenlib/BLI_graph.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_graph.h b/source/blender/blenlib/BLI_graph.h
index d309d73fbee..dba02932e02 100644
--- a/source/blender/blenlib/BLI_graph.h
+++ b/source/blender/blenlib/BLI_graph.h
@@ -80,6 +80,8 @@ void BLI_freeAdjacencyList(BGraph *rg);
int BLI_FlagSubgraphs(BGraph *graph);
+#define SHAPE_RADIX 10 /* each shape level is encoded this base */
+
int BLI_subtreeShape(BNode *node, BArc *rootArc, int include_root);
float BLI_subtreeLength(BNode *node, BArc *rootArc);
void BLI_calcGraphLength(BGraph *graph);