- glBegin(GL_LINE_STRIP);
- for _i := 0 to length(x) - 1 do begin
- if length(x) = 0 then break;
- glPushMatrix;
- //glColor3b(Round(y[_i] * 40)+ 40,Round(y[_i] * 80) + 50,0);
- glcolor3b(127 - (speed[_i]-127) ,speed[_i]-127,speed[_i]-127);
- glVertex3f(x[_i], y[_i], z[_i]);
- glPopMatrix;
- end;
- glEnd();