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 Squashed commit of the following: 2014-05-16 14:36:00 -07:00
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 Adds `std::nothrow` to `new` 2014-08-27 16:31:57 -07:00
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 fixed warn and replace NULL with nullptr. 2014-07-10 00:45:27 +08:00
CCSet.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
CCString.cpp Change atof() to utils::atof() 2014-07-14 20:45:24 +08:00
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