issue #12078: added subgroup of physics 2d.

This commit is contained in:
linshun 2015-06-15 10:28:37 +08:00
parent 09b52331d1
commit efed0da8bc
7 changed files with 23 additions and 0 deletions

View File

@ -50,6 +50,8 @@ const PhysicsMaterial PHYSICSBODY_MATERIAL_DEFAULT(0.1f, 0.5f, 0.5f);
/**
* @addtogroup physics
* @{
* @addtogroup physics_2d
* @{
*/
/**
@ -560,6 +562,8 @@ protected:
};
/** @} */
/** @} */
NS_CC_END

View File

@ -57,6 +57,8 @@ typedef struct CC_DLL PhysicsContactData
/**
* @addtogroup physics
* @{
* @addtogroup physics_2d
* @{
*/
/**
@ -307,6 +309,7 @@ protected:
virtual ~EventListenerPhysicsContactWithGroup();
};
/** @} */
/** @} */
NS_CC_END

View File

@ -37,6 +37,8 @@ NS_CC_BEGIN
/**
* @addtogroup physics
* @{
* @addtogroup physics_2d
* @{
*/
/**
@ -108,6 +110,7 @@ public:
}
};
/** @} */
/** @} */
NS_CC_END

View File

@ -42,6 +42,8 @@ class PhysicsWorld;
/**
* @addtogroup physics
* @{
* @addtogroup physics_2d
* @{
*/
/**
@ -567,6 +569,8 @@ protected:
};
/** @} */
/** @} */
NS_CC_END

View File

@ -61,6 +61,9 @@ const PhysicsMaterial PHYSICSSHAPE_MATERIAL_DEFAULT;
/**
* @addtogroup physics
* @{
* @addtogroup physics_2d
* @{
*/
/**
@ -718,6 +721,7 @@ protected:
friend class PhysicsBody;
};
/** @} */
/** @} */
NS_CC_END

View File

@ -82,6 +82,8 @@ typedef PhysicsQueryRectCallbackFunc PhysicsQueryPointCallbackFunc;
/**
* @addtogroup physics
* @{
* @addtogroup physics_2d
* @{
*/
/**
@ -415,6 +417,8 @@ protected:
extern const float CC_DLL PHYSICS_INFINITY;
/** @} */
/** @} */
NS_CC_END
#endif // CC_USE_PHYSICS

View File

@ -6,6 +6,7 @@
@defgroup base Base
@defgroup network Network
@defgroup physics Physics
@defgroup physics_2d Physics 2D
@defgroup platform Platform
@defgroup renderer Renderer
@defgroup storage Storage