ofDrawCircle / ofPath Arc, curve resolution that matches

how to make ofPath arc curve resolution match the same as ofDrawCircle / ofDrawEllipse ?
I’ve tried with this code and the results are quite different

ofSetCircleResolution(96);

ofPath p;
p.setCurveResolution(96);
p.arc(0,0,raio,raio,0,120);
p.setUseShapeColor(false);
p.draw();

Solved. function was p.setCircleResolution instead of p.setCurveResolution

1 Like