summaryrefslogtreecommitdiff
path: root/src/Robot.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/Robot.java')
-rw-r--r--src/Robot.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Robot.java b/src/Robot.java
index 778b2e5..0e496e1 100644
--- a/src/Robot.java
+++ b/src/Robot.java
@@ -452,13 +452,16 @@ class Robot extends BetterBase {
// Set color and draw head
setColor(asStickFigure ? boneColor : Colors.PALE_TURQOISE);
-
+
+ // Create glu quadric object
GLUquadric sphere = glu.gluNewQuadric();
+ // Set glu drawing settings
glu.gluQuadricDrawStyle(sphere, glu.GLU_FILL);
glu.gluQuadricTexture(sphere, true);
glu.gluQuadricNormals(sphere, glu.GLU_SMOOTH);
+ // Draw the glu sphere
glu.gluSphere(sphere, headRadius, 32, 32);
// glut.glutSolidSphere(headRadius, 32, 32);