Straśnie dużo pisaniaMlKl pisze: ok linii 1235 linijkę
zamieniamy na:Kod: Zaznacz cały
self.hershey.plot_string("Z", -2.5)
Kod: Zaznacz cały
glColor3f(*self.colors['axis_x']) self.hershey.plot_string("0", 31.5) self.hershey.plot_string("X", 30.5) self.hershey.plot_string("-", 28.5) self.hershey.plot_string("-", 26.5) self.hershey.plot_string("-", 24.5) self.hershey.plot_string("-", 22.5) self.hershey.plot_string("-", 20.5) self.hershey.plot_string("-", 18.5) self.hershey.plot_string("-", 16.5) self.hershey.plot_string("-", 14.5) self.hershey.plot_string("-", 12.5) self.hershey.plot_string("-", 10.5) self.hershey.plot_string("-", 8.5) self.hershey.plot_string("-", 6.5) self.hershey.plot_string("-", 4.5) self.hershey.plot_string("-", 2.5) self.hershey.plot_string("-", 0.5) self.hershey.plot_string("-", -2.5) self.hershey.plot_string("-", -4.5) self.hershey.plot_string("-", -6.5) self.hershey.plot_string("-", -8.5) self.hershey.plot_string("-", -10.5) self.hershey.plot_string("-", -12.5) self.hershey.plot_string("-", -14.5) glColor3f(*self.colors['axis_z']) self.hershey.plot_string("Z", -2.5)

Zamieniłem na:
Kod: Zaznacz cały
glColor3f(*self.colors['axis_x'])
self.hershey.plot_string("0", 31.5)
self.hershey.plot_string("X", 30.5)
x = 28.5
while(x > -14.5):
self.hershey.plot_string("-", x)
x -= 2.5
glColor3f(*self.colors['axis_z'])
self.hershey.plot_string("Z", -2.5)
