Remove loop[ijkl]
They confused clang-format a lot. FossilOrigin-Name: 6b85eefc857c74c00d7ef693e312cc15df53201a6712aee8ba8d57c643c1703b
This commit is contained in:
parent
2c5f2d0342
commit
006dba8370
22 changed files with 318 additions and 257 deletions
|
@ -33,8 +33,7 @@ computeraytable(float vx, float vy)
|
|||
float byaw = (player1.yaw - 90 + af) / 360 * PI2;
|
||||
float syaw = (player1.yaw - 90 - af) / 360 * PI2;
|
||||
|
||||
loopi(NUMRAYS)
|
||||
{
|
||||
for (int i = 0; i < NUMRAYS; i++) {
|
||||
float angle = i * PI2 / NUMRAYS;
|
||||
if ((apitch > 45 // must be bigger if fov>120
|
||||
|| (angle < byaw && angle > syaw) ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue