示例#1
0
文件: f2fGrid.cpp 项目: BrentSqAR/f2f
void f2fGrid::fLocal() {	
	if (nextGridLine) {
		fStep();
		nextGridLine = false;
		if (makeSound) {
			soundSampleMax = int(gridLineStopX-gridLineStartX)+1;
			if (soundSampleMax < 1) {soundSampleMax = 1;}
			setSound = new int[soundSampleMax];
		}
	}
	if (!nextGridLine && !stopGrid) {			
		if (gridLineStep <= (gridLineStopX-gridLineStartX)) {	
			fParse();		
			++gridLineStep;
		} else {
			nextGridLine = true;
			strokeLine = true;
		}
	}
}
示例#2
0
rk4::rk4(FILE *in){
 fParse(in);
}