Revision f338550a
Added by Leszek Koltunski about 7 years ago
src/main/java/org/distorted/examples/effects3d/Effects3DRenderer.java | ||
---|---|---|
119 | 119 |
mScreen.attach(mBackgroundTexture, mBackgroundEffects, mQuad ); |
120 | 120 |
mScreen.attach(mObjectTexture , mObjectEffects , mObjectMesh); |
121 | 121 |
|
122 |
//if( Effects3DActivity.supportsCenter() ) |
|
123 |
mScreen.attach(mCenterNode); |
|
124 |
//if( Effects3DActivity.supportsRegion() ) |
|
125 |
mScreen.attach(mRegionNode); |
|
122 |
mScreen.attach(mCenterNode); |
|
123 |
mScreen.attach(mRegionNode); |
|
124 |
} |
|
125 |
|
|
126 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
127 |
|
|
128 |
void attachRegion(boolean attach) |
|
129 |
{ |
|
130 |
//if( attach ) mScreen.attach(mRegionNode); |
|
131 |
//else mScreen.detach(mRegionNode); |
|
132 |
} |
|
133 |
|
|
134 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
135 |
|
|
136 |
void attachCenter(boolean attach) |
|
137 |
{ |
|
138 |
//if( attach ) mScreen.attach(mCenterNode); |
|
139 |
//else mScreen.detach(mCenterNode); |
|
126 | 140 |
} |
127 | 141 |
|
128 | 142 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Some progress with fixing the efects3D regression. Not done yet.