Revision b24e4719
Added by Leszek Koltunski over 5 years ago
src/main/java/org/distorted/library/main/DistortedEffects.java | ||
---|---|---|
467 | 467 |
|
468 | 468 |
mM.compute(currTime); |
469 | 469 |
mV.compute(currTime,halfW,halfH,halfZ); |
470 |
mF.compute(currTime,halfW,halfH); |
|
470 |
mF.compute(currTime,halfW,halfH,halfZ);
|
|
471 | 471 |
mP.compute(currTime); |
472 | 472 |
|
473 | 473 |
GLES31.glViewport(0, 0, surface.mWidth, surface.mHeight ); |
... | ... | |
505 | 505 |
|
506 | 506 |
mM.compute(currTime); |
507 | 507 |
mV.compute(currTime,halfW,halfH,halfZ); |
508 |
mF.compute(currTime,halfW,halfH); |
|
508 |
mF.compute(currTime,halfW,halfH,halfZ);
|
|
509 | 509 |
mP.compute(currTime); |
510 | 510 |
|
511 | 511 |
GLES31.glViewport(0, 0, surface.mWidth, surface.mHeight ); |
Also available in: Unified diff
Make the Fragment effects truly 3D: change their 4D 'region' into a 3D 'center' (a point in 3D) and 3D 'region' (which is now a set of 3 radii defining an ellipsoid around the center)
Also corresponding changes to the applications.