Revision b424b062
Added by Leszek Koltunski over 5 years ago
src/main/java/org/distorted/examples/stencil/StencilRenderer.java | ||
---|---|---|
148 | 148 |
float fh = mFloorTex.getHeight(); |
149 | 149 |
float fd = mFloorTex.getDepth(mQuad); |
150 | 150 |
|
151 |
Static3D cubeCenter = new Static3D(cw/2,ch ,-cd/2);
|
|
152 |
Static3D floorCenter= new Static3D(fw/2,fh/2,-fd/2);
|
|
151 |
Static3D cubeCenter = new Static3D(cw/2,ch ,cd/2); |
|
152 |
Static3D floorCenter= new Static3D(fw/2,fh/2,fd/2); |
|
153 | 153 |
|
154 | 154 |
Static3D axisX = new Static3D(1,0,0); |
155 | 155 |
Static3D axisY = new Static3D(0,1,0); |
Also available in: Unified diff
Make Matrix effects Rotate and Quaternion actually correct when it comes to the Z-axis. Also corresponding adjustments in apps.