Hi,
I’m got this code from here http://www.terathon.com/code/tangent.html The code is displayed on that page, no downloads needed.
Tagent mapping, I have it integrated into my code.(My first time doing tangent mapping, so not confident enough to rewrite it)
It all compiles fine, aside from one a missing function ClearMemory. The line in the code.
ClearMemory(tan1, vertexCount * sizeof(Vector3D) * 2);
I’m using vc++. I did a find in files search and no includes I have include it, nor can I find it on the web.
Any ideas where or a similar function i can use instead? (tan1 is a class of vector3ds)