rem: if (fctns[c]["pa"][i].valy == 0) 
add: if (fctns[c]["pa"][i].valy == 0) { fctns[c].OnePointAtZero = 1; 
context: function SpriteFunctions(){/* 	post("SpriteFunctions\n"); */	var c, i;	var tmpF = fctns[current];		with ( SketchFunctions ) {		glclearcolor(tmpF.brgb);		glclear();				// dessine la grille		if ( GridMode ) {			glcolor(tmpF["rgb5"], Ghostness);						for (i = 0; i < (((tmpF.domain[1] - tmpF.domain[0]) / tmpF.GridStep)+1); i++) {			linesegment( screentoworld(val2x(tmpF, i*tmpF.GridStep + tmpF.domain[0]), val2y(tmpF, tmpF.range[0]) ),				screentoworld( val2x(tmpF, i*tmpF.GridStep + tmpF.domain[0]), val2y(tmpF, tmpF.range[1]) ) );			}		}			for (c = 0; c < NbCourbes; c++) {			if (fctns[c].np > 0) {				// dessine les segments				if ( fctns[c].display ) {					glcolor(fctns[c]["rgb2"], (c == current ? 1 : Ghostness));												moveto(screentoworld(fctns[c]["pa"][0].x,fctns[c]["pa"][0].y ));										for (i = 0; i < (fctns[c].np - 1); i++) {						lineto(screentoworld(fctns[c]["pa"][i+1].x,fctns[c]["pa"][i+1].y ));					}				}								// dessine les points de la courbe active ou de toutes les courbes si HiddenPointDisplay est activ				if ( fctns[c].display && ((c == current) || HiddenPointDisplay) ) {					// dessine les points					var tmpTransparency = c == current ? 1 : Ghostness;					glcolor(fctns[c]["frgb"], tmpTransparency);						for (i = 0; i < fctns[c].np; i++) {													moveto(screentoworld(fctns[c]["pa"][i].x,fctns[c]["pa"][i].y ));												if ( fctns[c]["pa"][i].sustain) {							glcolor(fctns[c]["rgb3"], tmpTransparency);							circle(5 / BoxHeight); // 5 pixels le point...							glcolor(fctns[c]["frgb"], tmpTransparency);						}						else {							if (fctns[c]["pa"][i].valy == 0)								framecircle(5 / SketchFunctions.size[1]); // 5 pixels le point...							else								circle(5 / SketchFunctions.size[1]); // 5 pixels le point...						}					}				}			}		}	}}
meta: 6421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6421/a80ca3235153e874e8f7a9d059933c68b7539748/ej.function.js/clean/ejies-jsui/ej.function.js