自作オブジェクトのvectoerをiterator
struct pdata {
public:
ofVec3f pos, ipos, r, angle, s;
};
for(auto itr = points.begin(); itr != points.end(); ++itr) {
pdata* p = &(*itr);
p->pos.x = p->ipos.x + p->r.x * sin( p->angle.x * PI/180 );
p->pos.x = p->ipos.x + p->r.x * sin( p->angle.x * PI/180 );
p->angle.x += p->s.x;
p->angle.y += p->s.y;
}