Fault in chipmunk_types.h?
Posted: Thu Feb 10, 2011 2:41 pm
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.
#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.