cocos2d-x节点(CCPhysicsSetting.h)API
2013-12-02 15:59
363 查看
本文来自http://blog.csdn.net/runaying ,引用必须注明出处!
温馨提醒:为了大家能更好学习,强烈推荐大家看看本人的这篇博客 Cocos2d-X权威指南笔记
都是一些物理引擎设置的定义
cocos2d-x节点(CCPhysicsSetting.h)API
温馨提醒:为了大家能更好学习,强烈推荐大家看看本人的这篇博客 Cocos2d-X权威指南笔记都是一些物理引擎设置的定义
///cocos2d-x-3.0alpha0/cocos2dx/physics //都是一些物理引擎设置的定义 #ifndef __CCPHYSICS_SETTING_H__ #define __CCPHYSICS_SETTING_H__ #define CC_PHYSICS_UNKNOWN 0 #define CC_PHYSICS_BOX2D 1 #define CC_PHYSICS_CHIPMUNK 2 #define CC_USE_CHIPMUNK #ifdef CC_USE_BOX2D #define CC_PHYSICS_ENGINE CC_PHYSICS_BOX2D #elif defined(CC_USE_CHIPMUNK) #define CC_PHYSICS_ENGINE CC_PHYSICS_CHIPMUNK #else #define CC_PHYSICS_ENGINE CC_PHYSICS_UNKNOWN #endif #if (CC_PHYSICS_ENGINE != CC_PHYSICS_UNKNOWN) #define CC_USE_PHYSICS #endif #endif // __CCPHYSICS_SETTING_H__
相关文章推荐
- cocos2d-x节点(CCPhysicsBody.h)API
- cocos2d-x节点(CCPhysicsContact.h)API
- cocos2d-x节点(CCPhysicsShape.h)API
- cocos2d-x节点(CCPhysicsJoint.h)API
- cocos2d-x节点(CCPhysicsWorld.h)API
- cocos2d-x节点(CCEventAcceleration.h)API
- cocos2d-x节点(CCGeometry.h)API
- cocos2d-x节点(CCActionEase.h)API
- COcos2d-X 节点(CCConfiguration.h)API
- cocos2d-x节点(CCNotificationCenter.h)API
- cocos2d-x节点(CCActionGrid.h)API
- cocos2d-X 节点(CCActionFrameEasing.h)API
- cocos2d-x节点(CCEventType.h)API
- cocos2d-x节点(CCDouble.h)API
- cocos2d-X 节点(CCActionFrame.h)API
- cocos2d-x节点(ccConfig.h)API
- cocos2d-x节点(CCActionInstant.h)API
- cocos2d-X 节点(CCActionManagerEx.h)API
- cocos2d-x节点(CCApplicationProtocol.h)API
- cocos2d-x节点(CCData.h)API