Hey. I am trying to draw a rounded rect. so i have to drive four halfs of circle, in correct corners.
First, i am drawing a basic circle usingr*cos(n)
So, i have a loop. ( C++ )
for(float n=0.0;n<3.0;n += 0.1)
sf::Shape p = sf::Shape::Line(
Where dist = 10.
Any ideas how to draw only 1/4 of the circle? (Currently the upper-left one)