mirror of https://github.com/axmolengine/axmol.git
using type alias
This commit is contained in:
parent
2183dd644e
commit
552d5d8cf7
|
@ -768,10 +768,10 @@ public:
|
||||||
*/
|
*/
|
||||||
inline Vec2 operator*(float x, const Vec2& v);
|
inline Vec2 operator*(float x, const Vec2& v);
|
||||||
|
|
||||||
typedef Vec2 Point;
|
using Point = Vec2;
|
||||||
|
|
||||||
// [DEPRECATED] compatible only
|
// [DEPRECATED] compatible only
|
||||||
typedef Vec2 Size;
|
using Size = Vec2; // typedef Vec2 Size;
|
||||||
|
|
||||||
NS_CC_MATH_END
|
NS_CC_MATH_END
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue