Revision 1b059065
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/library/effectqueue/EffectQueuePostprocess.java | ||
---|---|---|
161 | 161 |
MeshBase mesh = node.getMesh(); |
162 | 162 |
DistortedEffects effects = node.getEffects(); |
163 | 163 |
|
164 |
float halfW = mesh.getStretchX() / 2.0f;
|
|
165 |
float halfH = mesh.getStretchY() / 2.0f;
|
|
166 |
float halfZ = mesh.getStretchZ() / 2.0f;
|
|
164 |
float halfW = mesh.getBoundingX();
|
|
165 |
float halfH = mesh.getBoundingY();
|
|
166 |
float halfZ = mesh.getBoundingZ();
|
|
167 | 167 |
|
168 | 168 |
int width = buffer.getWidth(); |
169 | 169 |
int height = buffer.getHeight(); |
Also available in: Unified diff
Correct the Rubik app for the recent changes to the library's Node.