.. | .. |
---|
29 | 29 | Object3D saveskeleton; |
---|
30 | 30 | // |
---|
31 | 31 | |
---|
| 32 | + String skyboxname; |
---|
| 33 | + String skyboxext; |
---|
| 34 | + |
---|
32 | 35 | byte[] versions[]; |
---|
33 | 36 | int versionindex = -1; |
---|
34 | 37 | |
---|
.. | .. |
---|
7490 | 7493 | hitSomething = hitScale; |
---|
7491 | 7494 | |
---|
7492 | 7495 | double scale = 0.005f * clickInfo.camera.Distance(); |
---|
7493 | | - double hScale = (double) (clickInfo.x /*- centerPt.x*/) / 32; |
---|
| 7496 | + double hScale = (double) (clickInfo.x - centerPt.x) / 32; |
---|
7494 | 7497 | double sign = 1; |
---|
7495 | 7498 | if (hScale < 0) |
---|
7496 | 7499 | { |
---|
.. | .. |
---|
7502 | 7505 | //hScale = 0.01; |
---|
7503 | 7506 | } |
---|
7504 | 7507 | |
---|
7505 | | - double vScale = (double) (clickInfo.y /*- centerPt.y*/) / 32; |
---|
| 7508 | + double vScale = (double) (clickInfo.y - centerPt.y) / 32; |
---|
7506 | 7509 | sign = 1; |
---|
7507 | 7510 | if (vScale < 0) |
---|
7508 | 7511 | { |
---|
.. | .. |
---|
7717 | 7720 | break; |
---|
7718 | 7721 | |
---|
7719 | 7722 | case hitScale: // scale |
---|
7720 | | - double hScale = (double) (clickInfo.x /*- centerPt.x*/) / 32; |
---|
| 7723 | + double hScale = (double) (clickInfo.x - centerPt.x) / 32; |
---|
7721 | 7724 | double sign = 1; |
---|
7722 | 7725 | if (hScale < 0) |
---|
7723 | 7726 | { |
---|
.. | .. |
---|
7729 | 7732 | //hScale = 0.01; |
---|
7730 | 7733 | } |
---|
7731 | 7734 | |
---|
7732 | | - double vScale = (double) (clickInfo.y /*- centerPt.y*/) / 32; |
---|
| 7735 | + double vScale = (double) (clickInfo.y - centerPt.y) / 32; |
---|
7733 | 7736 | sign = 1; |
---|
7734 | 7737 | if (vScale < 0) |
---|
7735 | 7738 | { |
---|