Revision 64f93787
Added by Leszek Koltunski over 4 years ago
src/main/java/org/distorted/examples/generic/GenericEffect.java | ||
---|---|---|
170 | 170 |
mSta4.set(sinAnorm*qx,sinAnorm*qy,sinAnorm*qz, cosA); |
171 | 171 |
break; |
172 | 172 |
case MOVE : float scr= mAct.get().getScreenWidth(); |
173 |
float sw = scr/20000.0f;
|
|
174 |
float sh = scr/20000.0f;
|
|
173 |
float sw = scr/200.0f; |
|
174 |
float sh = scr/200.0f; |
|
175 | 175 |
float xm = (mInter[0]-50)*sw; |
176 | 176 |
float ym = (mInter[1]-50)*sh; |
177 | 177 |
float zm = (mInter[2]-50)*(sw+sh)/2; |
Also available in: Unified diff
Minor