Draw circle
Revision as of 06:26, 22 March 2022 by Teamred (talk | contribs) (Created page with "'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. The signature is: draw_circle( vector origin, float radius, float colormap, float lifetime, float depthtest ) = #85; argument description: origin: vector of the center of the circle radius: radius of the circ...")
'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.
The signature is: draw_circle( vector origin, float radius, float colormap, float lifetime, float depthtest ) = #85;
argument description: origin: vector of the center of the circle radius: radius of the circle (diameter is 2*radius) colormap: integer index into the color palette lifetime: duration the geometry to stay in the world (setting to 0 draws for one frame) depthtest: if true then world geometry occludes the drawing, otherwise it will show through things