All pastes #282947 Raw Edit

Miscellany

public text v1 · immutable
#282947 ·published 2006-12-17 23:57 UTC
rendered paste body

		/* draw the angled sides of the cone */
		glBegin(GL_LINE_STRIP);
			glEnable(GL_BLEND);
			glColor4f(la->r,la->g,la->b,0.2);
			glVertex3fv(vvec);
			glVertex3fv(vec);
			glColor4f(la->r,la->g,la->b,0.0);
			glVertex3fv(lvec);
			glColor4fv(curcol);
			glDisable(GL_BLEND);
		glEnd();