mirror of https://github.com/axmolengine/axmol.git
4c33050536
small function Vec2 move to Vec2.inl Added: setZero(); Change all code: _vec2 = Vec2(x, y); -> _vec2.set(x, y); Vec2 vec2 = Vec2(x, y); -> Vec2 vec2(x, y); _vec2 += Vec2(x, y); -> _vec2.add(x, y); _vec2 = Vec2::ZERO; -> _vec2.setZero(); Vec2 vec2(Vec2::ZERO); -> Vec2 vec2; |
||
---|---|---|
.. | ||
CCPhysicsBody.cpp | ||
CCPhysicsBody.h | ||
CCPhysicsContact.cpp | ||
CCPhysicsContact.h | ||
CCPhysicsHelper.h | ||
CCPhysicsJoint.cpp | ||
CCPhysicsJoint.h | ||
CCPhysicsShape.cpp | ||
CCPhysicsShape.h | ||
CCPhysicsWorld.cpp | ||
CCPhysicsWorld.h | ||
CMakeLists.txt |