There is already a function for drawing a filled circle as seen below.
Code:
render.drawFilledCircle( x, y, rx, ry )
Regarding the rotation instead of being lazy asking for a function, make a poly and rotate it. (You can texture polys too.)
"with it's superior software, i have no doubt it will succeed in finding fuck all" - T-17, 2016
[Super Member] [ENCOM] т-ѕсм.Red The Blue Color™: server do you support Hitler?
[Server] srcds_linux: The probabilty is about 99.99%, so interpret that how you want to.
Side note: circles are drawn using polys internally, so you can probably cache the polygon altogether, making it faster to render.
As for textured circles, once again, use a polygon and supply u and v keys for the texture coordinates.
And finally, there's render.pushMatrix, but because GarryCode™ you can only use it in a screen or HUD, NOT an emitter.