*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@615 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2006-11-12 19:19:29 +00:00
parent d9b5d86c2c
commit 2a0dc62900
15 changed files with 86 additions and 72 deletions
+3 -3
View File
@@ -21,10 +21,10 @@ void computeraytable(float vx, float vy)
odist = getvar("fog")*1.5f;
float apitch = (float)fabs(player1->state==CS_DEAD ? -90.0f : player1->pitch);
float apitch = (float)fabs(player1->state==CS_DEAD ? -90.0f : camera1->pitch);
float af = getvar("fov")/2+apitch/1.5f+3;
float byaw = (player1->yaw-90+af)/360*PI2;
float syaw = (player1->yaw-90-af)/360*PI2;
float byaw = (camera1->yaw-90+af)/360*PI2;
float syaw = (camera1->yaw-90-af)/360*PI2;
loopi(NUMRAYS)
{