float acum = ofGetElapsedTimef();
cout << acum << endl;

if (acum > interval) {
    o[0] = o[0] + x;
    p[0] = p[0] + y;
    for (int i = l - 1; i > 0; i--) {
        o[i] = o[i - 1];
        p[i] = p[i - 1];
    }


    interval = acum + 0.2;
}

No comment

Leave a Reply

Your email address will not be published. Required fields are marked *