Arhg - OGL MilkShape Model Loading
I'll attach all the relevant code I can in files, for some reason I get my error only when calling pModel->DrawMS3DModels();
Code:
--------------------Configuration: NeHeGL - Win32 Debug--------------------
Compiling...
Example.cpp
C:\Documents and Settings\Jonathan\Desktop\RenderEngine\Example.cpp(77) : error C2065: 'pModel' : undeclared identifier
C:\Documents and Settings\Jonathan\Desktop\RenderEngine\Example.cpp(77) : error C2227: left of '->DrawMS3DModels' must point to class/struct/union
Error executing cl.exe.
Creating browse info file...
NeHeGL.exe - 2 error(s), 0 warning(s)
pModel is declared right in the winmain section of NeHeGL.cpp.... nehegl.h is included where I'm trying to call pModel....
why oh why!