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; |
||
---|---|---|
.. | ||
CCArray.cpp | ||
CCArray.h | ||
CCBool.h | ||
CCDeprecated.cpp | ||
CCDeprecated.h | ||
CCDictionary.cpp | ||
CCDictionary.h | ||
CCDouble.h | ||
CCFloat.h | ||
CCInteger.h | ||
CCNotificationCenter.cpp | ||
CCNotificationCenter.h | ||
CCSet.cpp | ||
CCSet.h | ||
CCString.cpp | ||
CCString.h | ||
CMakeLists.txt |