All pastes #173376 Raw Edit

OMGcode

public cpp v1 · immutable
·published 2006-09-16 21:29 UTC
rendered paste body
	mousevectorx = car_x - mousex;	mousevectory = car_y - mousey;		for (i=1; i<g_numents; i++) {				bullet[i].x-=bullet[i].xa*delay*0.01;		bullet[i].y-=bullet[i].ya*delay*0.01;	glPushMatrix();				glTranslatef(bullet[i].x,bullet[i].y,0);		DrawObject(8,8,2);	glPopMatrix();	if ((bullet[i].x>800)||(bullet[i].y>600)||(bullet[i].y<0)||(bullet[i].x<0))	 bullet[i].inside = false;	}