Revision 2e7c7abf
Added by Leszek Koltunski about 8 years ago
src/main/java/org/distorted/examples/effects3d/Effects3DEffect.java | ||
---|---|---|
133 | 133 |
break; |
134 | 134 |
case WAVE : float l2 = mAct.get().getWidth()/50.0f; |
135 | 135 |
float x2 = (mInter[0]-50)*l2; |
136 |
float y2 = (mInter[1]-50)*180 / 50;
|
|
137 |
float z2 = (mInter[2]-50)*l2;
|
|
136 |
float y2 = (mInter[1]-50)*l2;
|
|
137 |
float z2 = (mInter[2]-50)*180 / 50;
|
|
138 | 138 |
float w2 = (mInter[3]-50)*180 / 50; |
139 | 139 |
mSta4.set(x2,y2,z2,w2); |
140 | 140 |
break; |
Also available in: Unified diff
swap the 2nd and the 3rd parameters in the WAVE effect and improve comments for the WAVE user API.