Page 1 of 1

Fault in chipmunk_types.h?

Posted: Thu Feb 10, 2011 2:41 pm
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.

Re: Fault in chipmunk_types.h?

Posted: Thu Feb 10, 2011 3:06 pm
by slembcke
Yup, looks like I made a copy paste error. Will be fixed in trunk shortly.