axmol/cocos/deprecated
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
..
CCArray.cpp
CCArray.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
CCBool.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
CCDeprecated.cpp Optimize Vec2 2015-04-19 20:40:52 +03:00
CCDeprecated.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
CCDictionary.cpp
CCDictionary.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
CCDouble.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
CCFloat.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
CCInteger.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
CCNotificationCenter.cpp Adds MARK: TODO: FIXME: in code 2014-08-29 12:54:24 -07:00
CCNotificationCenter.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
CCSet.cpp
CCSet.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
CCString.cpp
CCString.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
CMakeLists.txt Multi platform cmake support 2014-10-03 23:21:45 +01:00