lets try that one again

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4579 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2014-01-14 21:56:41 +00:00
parent 38a9770253
commit d9085d414b

View file

@ -197,10 +197,6 @@ void Mod_NormaliseTextureVectors(vec3_t *n, vec3_t *s, vec3_t *t, int v)
for (i = 0; i < v; i++) for (i = 0; i < v; i++)
{ {
//hack stuff to match dp/tenebrae
// VectorNegate(s[1], s[i]);
VectorNegate(t[i], t[i]);
//strip away any variance against the normal to keep it perpendicular, then normalize //strip away any variance against the normal to keep it perpendicular, then normalize
f = -DotProduct(s[i], n[i]); f = -DotProduct(s[i], n[i]);
VectorMA(s[i], f, n[i], tmp); VectorMA(s[i], f, n[i], tmp);