Use 3d projection by default

let tilemap ordering based on depth test to be enabled
This commit is contained in:
pandamicro
2017-11-12 10:56:13 +08:00
parent 37d020bcf0
commit b7d90aa667
+2 -2
View File
@@ -1584,8 +1584,8 @@ cc.Director.PROJECTION_CUSTOM = 3;
/**
* Constant for default projection of cc.Director, default projection is 2D projection
* @property {Number} PROJECTION_DEFAULT
* @default cc.Director.PROJECTION_2D
* @default cc.Director.PROJECTION_3D
* @readonly
* @static
*/
cc.Director.PROJECTION_DEFAULT = cc.Director.PROJECTION_2D;
cc.Director.PROJECTION_DEFAULT = cc.Director.PROJECTION_3D;