chiark
/
gitweb
/
~ian
/
moebius2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cb1a1a
)
better with more bendingness costs
master
author
Ian Jackson
<ian@turbine>
Sat, 25 Oct 2008 00:16:31 +0000
(
01:16
+0100)
committer
Ian Jackson
<ian@turbine>
Sat, 25 Oct 2008 00:16:31 +0000
(
01:16
+0100)
energy.c
patch
|
blob
|
history
diff --git
a/energy.c
b/energy.c
index 09c54811520c45ca3a43a79464afa15ebe262619..3c1731a8e971c304c2d40bf222b741ad89011b4a 100644
(file)
--- a/
energy.c
+++ b/
energy.c
@@
-76,9
+76,9
@@
static const CostContribution costs[]= {
#endif
#if XBITS==6
-#define STOP_EPSILON
8
e-4
- COST( 3e
4
, vertex_displacement_cost)
- COST( 3e
4
, vertex_edgewise_displ_cost)
+#define STOP_EPSILON
1
e-4
+ COST( 3e
5
, vertex_displacement_cost)
+ COST( 3e
5
, vertex_edgewise_displ_cost)
COST( 3e-2, rim_proximity_cost)
COST( 1e4, rim_twist_cost)
COST( 1e12, noncircular_rim_cost)