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; |
||
---|---|---|
.. | ||
CCControlExtension | ||
CCScrollView |