.. | .. |
---|
1519 | 1519 | // mywave = currentwave++; |
---|
1520 | 1520 | // } |
---|
1521 | 1521 | // sound |
---|
1522 | | - cVector eye = CameraPane.theRenderer.eyeCamera.location; |
---|
| 1522 | + cVector eye = Globals.theRenderer.EyeCamera().location; |
---|
1523 | 1523 | |
---|
1524 | 1524 | // if (sourcenode.parent.parent != null) |
---|
1525 | 1525 | // sourcenode.parent.parent.TransformToWorld(floor, tmp); |
---|
.. | .. |
---|
2267 | 2267 | } |
---|
2268 | 2268 | |
---|
2269 | 2269 | if (!smoothed) |
---|
2270 | | - for (int i=0; --i>=0;) |
---|
| 2270 | + for (int i=1; --i>=0;) |
---|
2271 | 2271 | SmoothAnimData(); // much reduces shakiness |
---|
2272 | 2272 | |
---|
2273 | 2273 | smoothed = true; |
---|
.. | .. |
---|
3496 | 3496 | // filters out bad input data |
---|
3497 | 3497 | void FilterAnimData() |
---|
3498 | 3498 | { |
---|
| 3499 | + new Exception().printStackTrace(); |
---|
3499 | 3500 | System.exit(0); |
---|
3500 | 3501 | |
---|
3501 | 3502 | float[] data; // = bvh.animation.getBoneData(0); |
---|