All pastes #977004 Raw Edit

Untitled

public c v1 · immutable
·published 2008-04-08 15:47 UTC
rendered paste body
void drawPanzerCam() {        float  angle = seth.value[VAR_CAM_ANGLE]; 	//backwards	#define MIRRORCAM_WIDTH 650.0f	#define MIRRORCAM_HEIGHT 500.0f	// Set the view	refdef_t camRefDef;	memcpy(&camRefDef, &eth.cg_refdef, sizeof(refdef_t));	// fov	camRefDef.fov_x = 90.0f;	camRefDef.fov_y = 90.0f * (MIRRORCAM_HEIGHT / MIRRORCAM_WIDTH);	// view angle	vec3_t camAngle;	VectorCopy(eth.cg_refdefViewAngles, camAngle);	camAngle[YAW] -= angle;//	camAngle[PITCH] = 20;	// Look down	AnglesToAxis(camAngle, camRefDef.viewaxis);	// Draw the spycam	drawSpyCam(0, 0, MIRRORCAM_WIDTH - 1, MIRRORCAM_HEIGHT - 1, &camRefDef, eth.enemyVisibleShader, eth.friendVisibleShader, qfalse);}Is there any way to create an array with 2 values, 45 & 315 so camAngel[YAw] will get its value from there? and change it every 1 second?