deprecated fixed (#5098)

This commit is contained in:
ChiaNing
2019-08-06 11:48:59 +08:00
committed by Weiliang Wang
parent 8516df543e
commit 534d1bf492
+3 -3
View File
@@ -76,7 +76,7 @@ replaceProperty(Vec2.prototype,'Vec2',[
targetName: 'Vec2'
},
{
name: 'sqrMag',
name: 'magSqr',
newName: 'lengthSqr',
target: Vec2.prototype,
targetName: 'Vec2'
@@ -167,7 +167,7 @@ replaceProperty(Vec3.prototype,'Vec3',[
targetName: 'Vec3'
},
{
name: 'sqrMag',
name: 'magSqr',
newName: 'lengthSqr',
target: Vec3.prototype,
targetName: 'Vec3'
@@ -258,7 +258,7 @@ replaceProperty(Vec4.prototype,'Vec4',[
targetName: 'Vec4'
},
{
name: 'sqrMag',
name: 'magSqr',
newName: 'lengthSqr',
target: Vec4.prototype,
targetName: 'Vec4'