Skip to content

Commit 8198132

Browse files
committed
Revert "renderer: faster Tess_SurfacePolychain() with VectorNormalizeFast() in R_CalcTangents()"
This reverts commit 39c25ac. This affects map loading, not just surfaces added at runtime. Fixes #1836.
1 parent 290f224 commit 8198132

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/engine/renderer/tr_main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ void R_CalcTangents( vec3_t tangent, vec3_t binormal,
9494
binormal[1] = dtx[0] * dpy[1] - dpx[1] * dty[0];
9595
binormal[2] = dtx[0] * dpy[2] - dpx[2] * dty[0];
9696

97-
VectorNormalizeFast( tangent );
98-
VectorNormalizeFast( binormal );
97+
VectorNormalize( tangent );
98+
VectorNormalize( binormal );
9999
}
100100

101101
void R_CalcTangents( vec3_t tangent, vec3_t binormal,

0 commit comments

Comments
 (0)