Draw circle
Jump to navigation
Jump to search
'draw_circle' is a new debug-drawing function in quake c in quake enhanced.
for these draw calls to be visible sv_cheats has to be set to 1 The function draws a circle centered at the origin vector of the color specified by the colormap argument in the x/y plane.
argument name | type | description |
---|---|---|
origin | vector | the center of the circle |
radius | float | radius of the circle (diameter is 2*radius) |
colormap | float | integer index into the color palette( see https://quakewiki.org/wiki/Quake_palette) |
lifetime | float | duration in seconds the geometry to stay in the world (setting to 0 draws for one frame) |
depthtest | float (TRUE/FALSE) | if true then world geometry occludes the drawing, otherwise it will show through things |