mirror of https://github.com/axmolengine/axmol.git
cc.PI2 was only present in html5 release, added it into JSB (#18860)
[JavaScript] cc.PI2 was only present in html5 release, added it into JSB
This commit is contained in:
parent
59c854a159
commit
dfdaf9ed61
|
@ -301,6 +301,12 @@ cc.INVALID_INDEX = -1;
|
|||
*/
|
||||
cc.PI = Math.PI;
|
||||
|
||||
/**
|
||||
* @constant
|
||||
* @type Number
|
||||
*/
|
||||
cc.PI2 = Math.PI * 2;
|
||||
|
||||
/**
|
||||
* @constant
|
||||
* @type Number
|
||||
|
|
Loading…
Reference in New Issue