.. | .. |
---|
790 | 790 | v.weights[k] = other.ComputeWeight(v, toRoot, k); // (float)(supportsize * normalweight * nz / Math.pow(tx*tx+ty*ty+tz*tz, 1)); |
---|
791 | 791 | v.totalweight += v.weights[k]; |
---|
792 | 792 | |
---|
793 | | - if (CameraPane.CROWD) |
---|
| 793 | + if (Globals.CROWD) |
---|
794 | 794 | { |
---|
795 | 795 | // System.out.print("weight = " + v.weights[k]); |
---|
796 | 796 | // System.out.println("; totalweight = " + v.totalweight); |
---|
.. | .. |
---|
2668 | 2668 | tmp.set(v); |
---|
2669 | 2669 | tmp.sub(eye); |
---|
2670 | 2670 | |
---|
2671 | | - if (CameraPane.framecount - lastsoundtime > 30) // 0.25 secs |
---|
| 2671 | + if (Globals.framecount - lastsoundtime > 30) // 0.25 secs |
---|
2672 | 2672 | { |
---|
2673 | 2673 | GrafreeD.wav.play((Math.random()+0.5)/Math.max(tmp.length2(),0.2)); //, 1); |
---|
2674 | 2674 | |
---|
2675 | | - lastsoundtime = CameraPane.framecount; |
---|
| 2675 | + lastsoundtime = Globals.framecount; |
---|
2676 | 2676 | } |
---|
2677 | 2677 | |
---|
2678 | 2678 | stepout = false; |
---|