🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

OBJModel Loader

Started by
0 comments, last by Ozz 24 years, 1 month 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
Advertisement
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