From 77c5056f221cf74242306f13ec9c97ebde20c6a6 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Sat, 18 Apr 2015 21:59:19 +0000 Subject: [PATCH] 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 --- polymer/eduke32/build/src/polymost.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/polymer/eduke32/build/src/polymost.c b/polymer/eduke32/build/src/polymost.c index abefe3676..2e1439c42 100644 --- a/polymer/eduke32/build/src/polymost.c +++ b/polymer/eduke32/build/src/polymost.c @@ -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;