using type alias

This commit is contained in:
halx99 2021-11-20 18:03:48 +08:00
parent 2183dd644e
commit 552d5d8cf7
1 changed files with 2 additions and 2 deletions

View File

@ -768,10 +768,10 @@ public:
*/
inline Vec2 operator*(float x, const Vec2& v);
typedef Vec2 Point;
using Point = Vec2;
// [DEPRECATED] compatible only
typedef Vec2 Size;
using Size = Vec2; // typedef Vec2 Size;
NS_CC_MATH_END