Revision 270c27bc
Added by Leszek Koltunski almost 7 years ago
src/main/java/org/distorted/library/DistortedEffects.java | ||
---|---|---|
245 | 245 |
|
246 | 246 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
247 | 247 |
|
248 |
void drawPriv(float halfW, float halfH, MeshObject mesh, DistortedOutputSurface surface, long currTime) |
|
248 |
void drawPriv(float halfW, float halfH, MeshObject mesh, DistortedOutputSurface surface, long currTime, float marginInPixels)
|
|
249 | 249 |
{ |
250 | 250 |
mM.compute(currTime); |
251 | 251 |
mV.compute(currTime); |
... | ... | |
277 | 277 |
GLES30.glVertexAttribPointer(mMainProgram.mAttribute[2], MeshObject.TEX_DATA_SIZE, GLES30.GL_FLOAT, false, MeshObject.VERTSIZE, mesh.mVertAttribs); |
278 | 278 |
} |
279 | 279 |
|
280 |
mM.send(surface,halfW,halfH,halfZ); |
|
280 |
mM.send(surface,halfW,halfH,halfZ,marginInPixels);
|
|
281 | 281 |
mV.send(halfW,halfH,halfZ); |
282 | 282 |
mF.send(halfW,halfH); |
283 | 283 |
|
Also available in: Unified diff
Progress with Stencils in postprocessing.