Fix 3D rendering of TubeFinSet.
Changes to the TubeFinSet instanceable caused extra rotations of the TubeFinSet around body tubes and podsets. Remove the extra rotation from the 3D renderer. Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
This commit is contained in:
parent
ac7d606423
commit
ec40b20ae0
@ -317,7 +317,6 @@ public class ComponentRenderer {
|
||||
private void renderTubeFins(GL2 gl, TubeFinSet fs, Surface which) {
|
||||
gl.glPushMatrix();
|
||||
gl.glMatrixMode(GLMatrixFunc.GL_MODELVIEW);
|
||||
gl.glRotated(fs.getBaseRotation() * (180.0 / Math.PI), 1, 0, 0);
|
||||
gl.glTranslated(0, fs.getOuterRadius(), 0);
|
||||
renderTube(gl, which, fs.getOuterRadius(), fs.getInnerRadius(), fs.getLength());
|
||||
gl.glPopMatrix();
|
||||
|
Loading…
x
Reference in New Issue
Block a user