Advertisement

OBJModel Loader

Started by May 20, 2000 03:18 PM
0 comments, last by Ozz 24 years, 6 months ago
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 write code.DelphiGL (http://delphigl.cfxweb.net)

This topic is closed to new replies.

Advertisement