65 verts = 12 + c->
radius / 8;
76 for (
int i = verts;
i >= 0;
i--) {
77 const float a = (
M_PI * 2 / verts) *
i;
80 for (
int j = 0; j < 3; j++)
88 glDrawArrays(GL_TRIANGLE_FAN, 0, vertind / 3);
#define VectorCopy(src, dest)
void R_EnableTexture(gltexunit_t *texunit, bool enable)
GLfloat * vertex_array_3d
void R_BlendFunc(GLenum src, GLenum dest)
local graphics definitions
void R_Color(const vec4_t rgba)
Change the color to given value.
void R_ResetArrayState(void)
void R_EnableColorArray(bool enable)
corona_t coronas[MAX_CORONAS]
coronas are soft, alpha-blended, rounded polys
void R_AddCorona(const vec3_t org, float radius, const vec3_t color)
QGL_EXTERN int GLboolean GLfloat * v