axmol/extensions/physics-nodes
Vladimir Perminov 4c33050536 Optimize Vec2
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;
2015-04-19 20:40:52 +03:00
..
CCPhysicsDebugNode.cpp Adds MARK: TODO: FIXME: in code 2014-08-29 12:54:24 -07:00
CCPhysicsDebugNode.h Update comment for Lua 2015-03-30 15:47:47 +08:00
CCPhysicsSprite.cpp Optimize Vec2 2015-04-19 20:40:52 +03:00
CCPhysicsSprite.h Update comment for Lua 2015-03-30 15:47:47 +08:00