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;
|
cc.PI = Math.PI;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @constant
|
||||||
|
* @type Number
|
||||||
|
*/
|
||||||
|
cc.PI2 = Math.PI * 2;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @constant
|
* @constant
|
||||||
* @type Number
|
* @type Number
|
||||||
|
|
Loading…
Reference in New Issue