OBJModel Loader
I`m using the OBJ model loader on glVelocity,
When I try:
if(!(COBJModel.LoadModel("head.obj")))
{
return FALSE;
}
In my GLinit function I get this error:
: error C2143: syntax error : missing '')''
before ''.''
: error C2143: syntax error : missing '';'' before ''{''
Any ideas? I`m using VC++ 6.0
you have COBJModel.LoadModel in your code, shouldn''t this be the name of your COBJModel variable?
i.e
COBJModel mdl;
...
...
mdl = new COBJModel;
mdl.LoadModel("head.obj");
Thats all I can think of anyways...
Jason A.
---
I write code.
i.e
COBJModel mdl;
...
...
mdl = new COBJModel;
mdl.LoadModel("head.obj");
Thats all I can think of anyways...
Jason A.
---
I write code.
---I write code.DelphiGL (http://delphigl.cfxweb.net)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement