mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-07 15:35:09 +00:00
fix sphere bug reported by Ken Russell
This commit is contained in:
parent
f3221396ed
commit
9814e10832
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ public class Sphere extends Quadric {
|
|||
dtheta = 2.0f * GLU.PI / slices;
|
||||
|
||||
if (super.drawStyle == GLU.GLU_FILL) {
|
||||
if (super.textureFlag) {
|
||||
if (!super.textureFlag) {
|
||||
// draw +Z end as a triangle fan
|
||||
GL11.glBegin(GL11.GL_TRIANGLE_FAN);
|
||||
GL11.glNormal3f(0.0f, 0.0f, 1.0f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue