and this function
void __cdecl m3dFindNormal(float * const,float const * const,float const * const,float const * const)" (?m3dFindNormal@@YAXQAMQBM11@Z),
where is it?
If you wrote this code, then you must have some idea of where those functions came from. And if you didn’t write it, and are just copying it from some website or somesuch, you should read the source documentation to find out where it does come from.
So it is,
this is from an example of gl book. i copy it from an article without read the book. search and find it lack of the function in lib.
i shall try and how about other pic format? if i don;t use tga format.
thanks,
A “gl book”? That’s not exactly narrowing it down; there are literally dozens of these.
And if you’re just copying from an article without even knowing what the book that article itself was copying from… how do you expect your code to actually work?
Lastly, copying random code you found on the Internet is not an effective means to learn anything.