This is an automated email from the git hooks/post-receive script. smcv pushed a commit to annotated tag 1.5a in repository iortcw.
commit a68dff71fb2ba9347ba4e778c8231d7921fbca75 Author: MAN-AT-ARMS <[email protected]> Date: Tue Sep 13 17:26:06 2016 -0400 All: Fix more reversed VectorCopy4() usage --- MP/code/rend2/tr_surface.c | 10 +++++----- SP/code/rend2/tr_surface.c | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/MP/code/rend2/tr_surface.c b/MP/code/rend2/tr_surface.c index 33c4b99..7b6650f 100644 --- a/MP/code/rend2/tr_surface.c +++ b/MP/code/rend2/tr_surface.c @@ -134,10 +134,10 @@ void RB_AddQuadStampExt( vec3_t origin, vec3_t left, vec3_t up, float color[4], R_VaoPackNormal(iNormal, normal); - VectorCopy4(tess.normal[ndx], iNormal); - VectorCopy4(tess.normal[ndx+1], iNormal); - VectorCopy4(tess.normal[ndx+2], iNormal); - VectorCopy4(tess.normal[ndx+3], iNormal); + VectorCopy4(iNormal, tess.normal[ndx]); + VectorCopy4(iNormal, tess.normal[ndx + 1]); + VectorCopy4(iNormal, tess.normal[ndx + 2]); + VectorCopy4(iNormal, tess.normal[ndx + 3]); // standard square texture coordinates VectorSet2(tess.texCoords[ndx ][0], s1, t1); @@ -1190,7 +1190,7 @@ static void RB_SurfaceGrid( srfBspSurface_t *srf ) { if ( tess.shader->vertexAttribs & ATTR_LIGHTDIRECTION ) { - VectorCopy4(lightdir, dv->lightdir); + VectorCopy4(dv->lightdir, lightdir); lightdir += 4; } diff --git a/SP/code/rend2/tr_surface.c b/SP/code/rend2/tr_surface.c index a016e1e..ab51a23 100644 --- a/SP/code/rend2/tr_surface.c +++ b/SP/code/rend2/tr_surface.c @@ -134,10 +134,10 @@ void RB_AddQuadStampExt( vec3_t origin, vec3_t left, vec3_t up, float color[4], R_VaoPackNormal(iNormal, normal); - VectorCopy4(tess.normal[ndx], iNormal); - VectorCopy4(tess.normal[ndx+1], iNormal); - VectorCopy4(tess.normal[ndx+2], iNormal); - VectorCopy4(tess.normal[ndx+3], iNormal); + VectorCopy4(iNormal, tess.normal[ndx]); + VectorCopy4(iNormal, tess.normal[ndx + 1]); + VectorCopy4(iNormal, tess.normal[ndx + 2]); + VectorCopy4(iNormal, tess.normal[ndx + 3]); // standard square texture coordinates VectorSet2(tess.texCoords[ndx ][0], s1, t1); @@ -1188,7 +1188,7 @@ static void RB_SurfaceGrid( srfBspSurface_t *srf ) { if ( tess.shader->vertexAttribs & ATTR_LIGHTDIRECTION ) { - VectorCopy4(lightdir, dv->lightdir); + VectorCopy4(dv->lightdir, lightdir); lightdir += 4; } -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

