drawGradientCircle

fun WorldRenderEnvironment.drawGradientCircle(outerRadius: Float, innerRadius: Float, outerColor: Color4b, innerColor: Color4b, innerOffset: Vector3fc = Vector3f(), noDepthTest: Boolean = true)

Function to draw a circle of the size outerRadius with a cutout of size innerRadius

Parameters

outerRadius

The radius of the circle

innerRadius

The radius inside the circle (the cutout)

outerColor

The color of the outer edges

innerColor

The color of the inner edges