From ad260980c7d0cb61fe3bec072d6ac6bba296a632 Mon Sep 17 00:00:00 2001 From: newnon Date: Mon, 10 Apr 2017 04:15:40 +0300 Subject: [PATCH] projection fixes (#17487) --- cocos/base/CCDirector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/base/CCDirector.cpp b/cocos/base/CCDirector.cpp index 5ecc2ad8f6..f7df18644e 100644 --- a/cocos/base/CCDirector.cpp +++ b/cocos/base/CCDirector.cpp @@ -707,7 +707,7 @@ void Director::purgeCachedData(void) float Director::getZEye(void) const { - return (_winSizeInPoints.height / 1.1566f); + return (_winSizeInPoints.height / 1.154700538379252f);//(2 * tanf(M_PI/6)) } void Director::setAlphaBlending(bool on)