Fail. Should have access-qualified class constants.
authorMatt Amos <zerebubuth@gmail.com>
Sun, 10 Jan 2010 15:41:08 +0000 (15:41 +0000)
committerMatt Amos <zerebubuth@gmail.com>
Sun, 10 Jan 2010 15:41:08 +0000 (15:41 +0000)
net/systemeD/potlatch2/tools/Quadrilateralise.as

index 568c4846573a90571f281eecf93fc8ff78de4458..f5bd8ae5af83e31f81536ecf2ab9720a1ea244e2 100644 (file)
@@ -4,8 +4,8 @@ package net.systemeD.potlatch2.tools {
   import flash.geom.Point;
 
   public class Quadrilateralise {
-    const NUM_STEPS:uint = 1000;
-    const TOLERANCE:Number = 1.0e-8;
+    private static const NUM_STEPS:uint = 1000;
+    private static const TOLERANCE:Number = 1.0e-8;
 
     /**
      * Attempts to make all corners of a way right angles. Returns true if it