Project

General

Profile

« Previous | Next » 

Revision bcbd5b45

Added by Leszek Koltunski about 4 years ago

Adjustment to Static's API.

View differences:

src/main/java/org/distorted/examples/earth/EarthRenderer.java
217 217
                                float lon = longitude;
218 218
                                float latInDegrees = (float)(lat*180.0f/Math.PI);
219 219
                                float lonInDegrees = (float)(lon*180.0f/Math.PI);
220
                                mPinch.set2(latInDegrees);
221
                                mPinch.set3(lonInDegrees);
220
                                mPinch.set1(latInDegrees);
221
                                mPinch.set2(lonInDegrees);
222 222
                                effect = new VertexEffectPinch  (mPinch   , center, mRegionV); break;
223 223
        case SWIRL            : effect = new VertexEffectSwirl  (mSwirl   , center, mRegionV); break;      // SWIRL & WAVE are not really fully
224 224
        case WAVE             : Static5D wave = new Static5D( RADIUS_V/2, RADIUS_V/2, 0, 90-latitude, 90); // 3D effects. They will not look

Also available in: Unified diff