axmol/extensions/GUI/CCControlExtension
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
..
CCControl.cpp Adds `std::nothrow` to `new` 2014-08-27 16:31:57 -07:00
CCControl.h Get rid of compiler warnings: 'func' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] 2015-03-14 19:33:15 +01:00
CCControlButton.cpp fxi compile warning 2014-09-03 14:47:04 +08:00
CCControlButton.h Get rid of compiler warnings: 'func' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] 2015-03-14 19:33:15 +01:00
CCControlColourPicker.cpp Adds MARK: TODO: FIXME: in code 2014-08-29 12:54:24 -07:00
CCControlColourPicker.h Update comment for Lua 2015-03-30 15:47:47 +08:00
CCControlExtensions.h remove ccscale9sprite , cceditBox 2014-09-01 17:06:22 +08:00
CCControlHuePicker.cpp Merge pull request #7900 from minggo/setposition-optimize 2014-08-28 14:31:54 +08:00
CCControlHuePicker.h Get rid of compiler warnings: 'func' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] 2015-03-15 00:10:08 +01:00
CCControlPotentiometer.cpp Adds `std::nothrow` to `new` 2014-08-27 16:31:57 -07:00
CCControlPotentiometer.h Update comment for Lua 2015-03-30 15:47:47 +08:00
CCControlSaturationBrightnessPicker.cpp Optimize Vec2 2015-04-19 20:40:52 +03:00
CCControlSaturationBrightnessPicker.h Get rid of compiler warnings: 'func' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] 2015-03-15 00:10:08 +01:00
CCControlSlider.cpp Merge pull request #7900 from minggo/setposition-optimize 2014-08-28 14:31:54 +08:00
CCControlSlider.h Update comment for Lua 2015-03-30 15:47:47 +08:00
CCControlStepper.cpp scheduler and macro fixes 2014-10-03 09:38:36 -07:00
CCControlStepper.h Update comment for Lua 2015-03-30 15:47:47 +08:00
CCControlSwitch.cpp Merge pull request #7900 from minggo/setposition-optimize 2014-08-28 14:31:54 +08:00
CCControlSwitch.h Update comment for Lua 2015-03-30 15:47:47 +08:00
CCControlUtils.cpp fixed warn and replace NULL with nullptr. 2014-07-10 00:45:27 +08:00
CCControlUtils.h 1. CocosStudio adapt to cocos2d-x v3.2. 2014-07-21 17:45:56 +08:00
CCInvocation.cpp Adds `std::nothrow` to `new` 2014-08-27 16:31:57 -07:00
CCInvocation.h 1. CocosStudio adapt to cocos2d-x v3.2. 2014-07-21 17:45:56 +08:00