зеркало из https://github.com/microsoft/cocos2d-x.git
issue #2771: fix compile errors
This commit is contained in:
Родитель
99d904363a
Коммит
0100c05a93
|
@ -268,11 +268,6 @@ To enable set it to a value different than 0. Disabled by default.
|
|||
|
||||
#ifdef CC_USE_PHYSICS
|
||||
#define PHYSICS_CONTACT_POINT_MAX 4
|
||||
namespace cocos2d
|
||||
{
|
||||
class Point;
|
||||
typedef Point Vect;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // __CCCONFIG_H__
|
||||
|
|
|
@ -40,9 +40,10 @@ NS_CC_BEGIN
|
|||
class Sprite;
|
||||
class PhysicsWorld;
|
||||
class PhysicsJoint;
|
||||
|
||||
class PhysicsBodyInfo;
|
||||
|
||||
typedef Point Vect;
|
||||
|
||||
|
||||
const PhysicsMaterial PHYSICSBODY_MATERIAL_DEFAULT(0.1f, 0.5f, 0.5f);
|
||||
|
||||
|
|
|
@ -40,6 +40,7 @@ class PhysicsWorld;
|
|||
|
||||
class PhysicsContactInfo;
|
||||
|
||||
typedef Point Vect;
|
||||
|
||||
typedef struct PhysicsContactData
|
||||
{
|
||||
|
|
|
@ -42,6 +42,8 @@ class PhysicsShape;
|
|||
class PhysicsContact;
|
||||
class Array;
|
||||
|
||||
typedef Point Vect;
|
||||
|
||||
class Sprite;
|
||||
class Scene;
|
||||
class DrawNode;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include "CCPlatformMacros.h"
|
||||
#include "CCGeometry.h"
|
||||
NS_CC_BEGIN
|
||||
class Vect;
|
||||
typedef Point Vect;
|
||||
class PhysicsBodyInfo;
|
||||
class PhysicsJointInfo;
|
||||
class PhysicsShapeInfo;
|
||||
|
|
Загрузка…
Ссылка в новой задаче