summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlp Toker <alp@atoker.com>2006-08-24 21:54:28 +0100
committerAlp Toker <alp@atoker.com>2006-08-24 21:54:28 +0100
commit8134211fffd1dc12266b1f5abf788c5cb79882b3 (patch)
tree7f8bdd30ee6211539c5e1d6dd44ad833a311ef2c
parent40521f19a976de7f746db4550d62d2d96d70a563 (diff)
downloadcompiz-cil-8134211fffd1dc12266b1f5abf788c5cb79882b3.tar.gz
compiz-cil-8134211fffd1dc12266b1f5abf788c5cb79882b3.tar.bz2
Update commented Constrain method
This is useful for testing
-rw-r--r--physics/Model.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/physics/Model.cs b/physics/Model.cs
index 04f5281..9e306a6 100644
--- a/physics/Model.cs
+++ b/physics/Model.cs
@@ -58,12 +58,23 @@ namespace PhysModel
foreach (Anchor a in Anchors)
a.Constrain ();
+ foreach (StringLink s in StringLinks)
+ s.Constrain ();
+
+ foreach (Spacer s in Spacers)
+ s.Constrain ();
+
foreach (Stick s in Sticks)
s.Constrain ();
foreach (Offset o in Offsets)
o.Constrain ();
+ foreach (Polygon p in Polygons)
+ p.Constrain ();
+ */
+
+ /*
foreach (Particle n in Particles)
foreach (Polygon p in Polygons)
p.Constrain (n); //wrong way round