polymost.c: split three overlong lines into three each.

This was formerly "fix multi-tile ceiling skies.", but TX beat me to it
and Git automatically figured out how to merge while keeping a linear
history. (Our fixes were identical.) Nice!

git-svn-id: https://svn.eduke32.com/eduke32@5157 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2015-04-18 21:59:19 +00:00
parent 474efef336
commit 77c5056f22

View file

@ -2342,9 +2342,18 @@ static void polymost_internal_nonparallaxed(vec2f_t n0, vec2f_t n1, float ryp0,
double py[3] = { ryp0 + (double)ghoriz, ryp1 + (double)ghoriz, oy2 + (double)ghoriz };
vec3f_t const duv[3] = {
{ (float)(px[0] * xtex.d + py[0] * ytex.d + otex.d), (float)(px[0] * xtex.u + py[0] * ytex.u + otex.u), (float)(px[0] * xtex.v + py[0] * ytex.v + otex.v) },
{ (float)(px[1] * xtex.d + py[1] * ytex.d + otex.d), (float)(px[1] * xtex.u + py[1] * ytex.u + otex.u), (float)(px[1] * xtex.v + py[1] * ytex.v + otex.v) },
{ (float)(px[2] * xtex.d + py[2] * ytex.d + otex.d), (float)(px[2] * xtex.u + py[2] * ytex.u + otex.u), (float)(px[2] * xtex.v + py[2] * ytex.v + otex.v) }
{ (float)(px[0] * xtex.d + py[0] * ytex.d + otex.d),
(float)(px[0] * xtex.u + py[0] * ytex.u + otex.u),
(float)(px[0] * xtex.v + py[0] * ytex.v + otex.v)
},
{ (float)(px[1] * xtex.d + py[1] * ytex.d + otex.d),
(float)(px[1] * xtex.u + py[1] * ytex.u + otex.u),
(float)(px[1] * xtex.v + py[1] * ytex.v + otex.v)
},
{ (float)(px[2] * xtex.d + py[2] * ytex.d + otex.d),
(float)(px[2] * xtex.u + py[2] * ytex.u + otex.u),
(float)(px[2] * xtex.v + py[2] * ytex.v + otex.v)
}
};
py[0] = cf_y0;