Revision 0ec011a7
Added by Leszek Koltunski about 5 years ago
src/main/java/org/distorted/examples/earth/EarthSurfaceViewPicker.java | ||
---|---|---|
196 | 196 |
mPointsE.add(mCurrentEffect.ordinal()); |
197 | 197 |
|
198 | 198 |
float longitude = (float)((xf-0.5f)*2.0f*Math.PI); |
199 |
float latitude = (float)((yf-0.5f)*Math.PI);
|
|
199 |
float latitude = (float)((0.5f-yf) *Math.PI);
|
|
200 | 200 |
|
201 | 201 |
mAct.get().addNewPoint(longitude,latitude,mCurrentEffect); |
202 | 202 |
} |
Also available in: Unified diff
Fix the PINCH effect in the Earth App.