Add mouse vertical scrolling.
[familia.git] / src / graphics / individual.c
index 0d837abf607e0d16fe8a90cb6b143e715eac0bbc..5396c2b63e9a3c49c0336abc0e0a8b80fd528844 100644 (file)
@@ -23,6 +23,7 @@
 #include <GL/gl.h>
 #include <GL/glu.h>
 
+#include "constants.h"
 #include "individual.h"
 
 void graphics_render_individual() {
@@ -31,7 +32,7 @@ void graphics_render_individual() {
        gluQuadricDrawStyle(quad, GLU_LINE);
 
        if (quad) {
-               gluSphere(quad, 1, 10, 10);
+               gluSphere(quad, GR_IND_RADIUS, 10, 10);
                gluDeleteQuadric(quad);
                quad = NULL;
        }