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
CCControl.h
CCControlButton.cpp
CCControlButton.h
CCControlColourPicker.cpp
CCControlColourPicker.h
CCControlExtensions.h
CCControlHuePicker.cpp
CCControlHuePicker.h
CCControlPotentiometer.cpp
CCControlPotentiometer.h
CCControlSaturationBrightnessPicker.cpp Optimize Vec2 2015-04-19 20:40:52 +03:00
CCControlSaturationBrightnessPicker.h
CCControlSlider.cpp
CCControlSlider.h
CCControlStepper.cpp
CCControlStepper.h
CCControlSwitch.cpp
CCControlSwitch.h
CCControlUtils.cpp
CCControlUtils.h
CCInvocation.cpp
CCInvocation.h