Clean out some commented cruft
This commit is contained in:
parent
554e4129e9
commit
b2320cf8e7
@ -141,28 +141,11 @@ public abstract class RocketRenderer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//gl.glDisable(GL.GL_CULL_FACE);
|
|
||||||
|
|
||||||
renderMotors(gl, configuration);
|
renderMotors(gl, configuration);
|
||||||
|
|
||||||
// Draw Tube and Transition back faces, blended with depth test
|
|
||||||
// so that they show up behind.
|
|
||||||
/*gl.glEnable(GL.GL_CULL_FACE);
|
|
||||||
gl.glCullFace(GL.GL_FRONT);
|
|
||||||
for (RocketComponent c : configuration) {
|
|
||||||
if (isDrawn(c)) {
|
|
||||||
if (isDrawnTransparent(c)) {
|
|
||||||
renderComponent(gl, c, 1.0f);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
gl.glDisable(GL.GL_CULL_FACE);
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Draw T&T front faces blended, without depth test
|
// Draw T&T front faces blended, without depth test
|
||||||
gl.glEnable(GL.GL_BLEND);
|
gl.glEnable(GL.GL_BLEND);
|
||||||
//gl.glEnable(GL.GL_CULL_FACE);
|
|
||||||
//gl.glCullFace(GL.GL_BACK);
|
|
||||||
for (RocketComponent c : configuration) {
|
for (RocketComponent c : configuration) {
|
||||||
if (isDrawn(c)) {
|
if (isDrawn(c)) {
|
||||||
if (isDrawnTransparent(c)) {
|
if (isDrawnTransparent(c)) {
|
||||||
@ -171,7 +154,6 @@ public abstract class RocketRenderer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
gl.glDisable(GL.GL_BLEND);
|
gl.glDisable(GL.GL_BLEND);
|
||||||
//gl.glDisable(GL.GL_CULL_FACE);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user