Revision 1b059065
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/library/main/DistortedLibrary.java | ||
---|---|---|
441 | 441 |
GLES31.glUniform1ui(DistortedLibrary.mMainOITNumRecordsH, (int)(DistortedLibrary.mBufferSize*surface.mWidth*surface.mHeight) ); |
442 | 442 |
mesh.bindVertexAttribs(DistortedLibrary.mMainOITProgram); |
443 | 443 |
|
444 |
float halfX = mesh.getStretchX() / 2.0f;
|
|
445 |
float halfY = mesh.getStretchY() / 2.0f;
|
|
446 |
float halfZ = mesh.getStretchZ() / 2.0f;
|
|
444 |
float halfX = mesh.getBoundingX();
|
|
445 |
float halfY = mesh.getBoundingY();
|
|
446 |
float halfZ = mesh.getBoundingZ();
|
|
447 | 447 |
float inflate = mesh.getInflate(); |
448 | 448 |
float distance = surface.mDistance; |
449 | 449 |
float mipmap = surface.mMipmap; |
... | ... | |
473 | 473 |
GLES31.glUniform1i(DistortedLibrary.mMainTextureH, 0); |
474 | 474 |
mesh.bindVertexAttribs(DistortedLibrary.mMainProgram); |
475 | 475 |
|
476 |
float halfX = mesh.getStretchX() / 2.0f;
|
|
477 |
float halfY = mesh.getStretchY() / 2.0f;
|
|
478 |
float halfZ = mesh.getStretchZ() / 2.0f;
|
|
476 |
float halfX = mesh.getBoundingX();
|
|
477 |
float halfY = mesh.getBoundingY();
|
|
478 |
float halfZ = mesh.getBoundingZ();
|
|
479 | 479 |
float inflate = mesh.getInflate(); |
480 | 480 |
float distance = surface.mDistance; |
481 | 481 |
float mipmap = surface.mMipmap; |
Also available in: Unified diff
Correct the Rubik app for the recent changes to the library's Node.