mirror of https://github.com/axmolengine/axmol.git
4c33050536
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; |
||
---|---|---|
.. | ||
CCControl.cpp | ||
CCControl.h | ||
CCControlButton.cpp | ||
CCControlButton.h | ||
CCControlColourPicker.cpp | ||
CCControlColourPicker.h | ||
CCControlExtensions.h | ||
CCControlHuePicker.cpp | ||
CCControlHuePicker.h | ||
CCControlPotentiometer.cpp | ||
CCControlPotentiometer.h | ||
CCControlSaturationBrightnessPicker.cpp | ||
CCControlSaturationBrightnessPicker.h | ||
CCControlSlider.cpp | ||
CCControlSlider.h | ||
CCControlStepper.cpp | ||
CCControlStepper.h | ||
CCControlSwitch.cpp | ||
CCControlSwitch.h | ||
CCControlUtils.cpp | ||
CCControlUtils.h | ||
CCInvocation.cpp | ||
CCInvocation.h |