// この関数は1秒間に数十回コールされ続ける void onUpdate(int renderer){ // 時刻変数を加算 time += timeStep; // 頂点座標の計算 for(int i=0; i