Generate a “pieslice” in C without using the pieslice() of graphics.h
why not use vectors? So (0,0) centered pie of radius r is determined by: u = (cos(a0),sin(a0)) v = (cos(a1),sin(a1)) x^2 + y^2 <= r^2 // circle (x,y) x u -> CW (x,y) x v -> CCW the CW/CCW is determined by computing 3D cross product and examining the sign of results z coordinate… so … Read more