Serprex draws circles better than GM
Josh likes, and has decided to incorporate an equiv for ENIGMA. And the best part is, this uses no trigThough it does run sqrt relative to the radius//0=x 1=y 2=rvar r2,xx,yy,x1,x2;x1=argument0-argument2//left edgex2=argument0+argument2//right edger2=sqr(argument2)//To avoid computation in loopdraw_primitive_begin(pr_linelist)//This draws horizontal lines. I'm thinking it could be made to have about 70% on the loop count if I cut the drawings into 4sectionsfor(yy=0;yy<argument2;yy+=1){//I think this is the best loop to chosexx=argument2-sqrt(r2-sqr(yy))//This finds half the width of the circle based on the heightdraw_vertex(x1+xx,argument1-yy);draw_vertex(x2-xx,argument1-yy)//This draws the top half of the circledraw_vertex(x1+xx,argument1+yy);draw_vertex(x2-xx,argument1+yy)//This draws the bottom half of the circle}draw_primitive_end()Optimizations welcome
Ah the random circles comment you made on msn is becoming clearer now :p
Why not just post it as an example altogether?
Will do, once I add in a few bells
No whistles?
Also, those circles in the image look cool, but why are they better than GMs?Top is mine,bottom is GM's
And whistles are for eMac loversdraw_set_circle_precision()?
Whistlers please.
No, looks great!