From 6e57500c15d8fd5655cae546216d372df53a8dbd Mon Sep 17 00:00:00 2001 From: Marco Cawthorne Date: Thu, 21 Nov 2024 22:44:53 -0800 Subject: [PATCH] HL2: comment out seemingly undesired normal negation --- plugins/hl2/mod_vbsp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/hl2/mod_vbsp.c b/plugins/hl2/mod_vbsp.c index 33d867cd4..64cc488a4 100644 --- a/plugins/hl2/mod_vbsp.c +++ b/plugins/hl2/mod_vbsp.c @@ -1950,10 +1950,10 @@ static void VBSP_BuildSurfMesh(model_t *mod, msurface_t *surf, builddata_t *bd) } //figure out the texture directions, for bumpmapping and stuff - if (surf->flags & SURF_PLANEBACK) - VectorNegate(surf->plane->normal, mesh->normals_array[i]); - else - VectorCopy(surf->plane->normal, mesh->normals_array[i]); +// if (surf->flags & SURF_PLANEBACK) +// VectorNegate(surf->plane->normal, mesh->normals_array[i]); +// else + VectorCopy(surf->plane->normal, mesh->normals_array[i]); VectorCopy(surf->texinfo->vecs[0], mesh->snormals_array[i]); VectorNegate(surf->texinfo->vecs[1], mesh->tnormals_array[i]); //the s+t vectors are axis-aligned, so fiddle them so they're normal aligned instead