@@ -1120,7 +1120,7 @@ static void Tess_SurfaceMD5( md5Surface_t *srf )
11201120 VectorNormalizeFast ( binormal );
11211121 VectorCopy ( position, tessVertex->xyz );
11221122
1123- R_TBNtoQtangents ( tangent, binormal, normal, tessVertex->qtangents );
1123+ R_TBNtoQtangentsFast ( tangent, binormal, normal, tessVertex->qtangents );
11241124
11251125 Vector2Copy ( surfaceVertex->texCoords , tessVertex->texCoords );
11261126 }
@@ -1325,7 +1325,7 @@ void Tess_SurfaceIQM( srfIQModel_t *surf ) {
13251325 VectorNormalizeFast ( binormal );
13261326 VectorCopy ( position, tessVertex->xyz );
13271327
1328- R_TBNtoQtangents ( tangent, binormal, normal, tessVertex->qtangents );
1328+ R_TBNtoQtangentsFast ( tangent, binormal, normal, tessVertex->qtangents );
13291329
13301330 Vector2Copy ( modelTexcoord, tessVertex->texCoords );
13311331 }
@@ -1342,7 +1342,7 @@ void Tess_SurfaceIQM( srfIQModel_t *surf ) {
13421342 {
13431343 VectorScale ( modelPosition, scale, tessVertex->xyz );
13441344
1345- R_TBNtoQtangents ( modelTangent, modelBitangent, modelNormal, tessVertex->qtangents );
1345+ R_TBNtoQtangentsFast ( modelTangent, modelBitangent, modelNormal, tessVertex->qtangents );
13461346
13471347 Vector2Copy ( modelTexcoord, tessVertex->texCoords );
13481348 }
0 commit comments