*** 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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user