OpenGL2: Store normals/tangents as int16_t[4].

This commit is contained in:
SmileTheory committed 2016-09-06 00:57:15 -07:00
1 parent 762f50757d
commit dfbaf50324
13 files changed
+288 -1042

No files matched your search

+5 -1
View File
@@ -207,7 +207,11 @@ static int neighbors[8][2] = {
//if ( count == 0 ) {
// printf("bad normal\n");
//}
VectorNormalize2( sum, dv->normal );
{
vec3_t fNormal;
VectorNormalize2(sum, fNormal);
R_VaoPackNormal(dv->normal, fNormal);
}
}
}
}