Box2D Forums

It is currently Wed May 22, 2013 9:09 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: b2ContactPoint
PostPosted: Wed May 26, 2010 7:01 pm 
Offline

Joined: Sun May 02, 2010 10:51 am
Posts: 9
Just a quick post to say that it's safe to delete the line
Code:
struct b2ContactPoint;

in b2WorldCallbacks.h line 30. It seems to be a forgotten leftover line still present in the current SVN revision.

I was trying to implement a b2ContactListener using an old documentation online and kept getting the error "use of undefined type 'b2ContactPoint'". Wherever I looked, I could only find this forward declaration and not the actual struct definition. I then realized my error and implemented the new version and everything is fine.

I know it's not a big deal, but since I stumbled upon it I though it would be nice to tell.


Top
 Profile  
 
 Post subject: Re: b2ContactPoint
PostPosted: Wed May 26, 2010 9:17 pm 
Offline
Site Admin

Joined: Thu Sep 06, 2007 12:34 am
Posts: 2931
Got it. Thanks!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group