Fault in chipmunk_types.h?

Discuss any Chipmunk bugs here.
Post Reply
ronaldmathies
Posts: 1
Joined: Thu Feb 10, 2011 2:38 pm
Contact:

Fault in chipmunk_types.h?

Post by ronaldmathies »

In the file: chipmunk_types.h there are these two definitions:

#ifdef CP_GROUP_TYPE
typedef CP_GROUP_TYPE cpGroup;
#else
typedef unsigned int cpGroup;
#endif

#ifdef CP_LAYERS_TYPE
typedef CP_GROUP_TYPE cpLayers;
#else
typedef unsigned int cpLayers;
#endif

Is this correct? because CP_GROUP_TYPE is now also used for the cpLayers while there is a CP_LAYERS_TYPE.
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Fault in chipmunk_types.h?

Post by slembcke »

Yup, looks like I made a copy paste error. Will be fixed in trunk shortly.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests