Difference between revisions of "Draw circle"
Jump to navigation
Jump to search
Line 29: | Line 29: | ||
|if true then world geometry occludes the drawing, otherwise it will show through things | |if true then world geometry occludes the drawing, otherwise it will show through things | ||
|} | |} | ||
Non-hosting players cannot see the geo created by these calls regardless of sv_cheats. |
Latest revision as of 07:48, 22 March 2022
'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 or less draws for one frame) |
depthtest | float (TRUE/FALSE) | if true then world geometry occludes the drawing, otherwise it will show through things |
Non-hosting players cannot see the geo created by these calls regardless of sv_cheats.