Example #1
0
 def draw_eyes(self,vis,r_max,dphi):
     for x in range(0,7):
         GLU.gluPartialDisk(self.quad,
             1,
             vis[x][0] * r_max,
             5,
             3,
             - ((x - 3) * 15 + 7.5 + dphi / pi * 180) + 90,
             15)
Example #2
0
 def draw_sensitivity(self,sens,r_max,dphi):
     for x in range(0,5):
         GLU.gluPartialDisk(self.quad,
             1,
             sens[x] * r_max,
             5,
             3,
             - (52.5 + (x+1) * 51 + dphi / pi * 180) + 90,
             51)   
     pass