diff --git a/cocos/base/CCDirector.cpp b/cocos/base/CCDirector.cpp index f2e6bff640..f4d610fe2d 100644 --- a/cocos/base/CCDirector.cpp +++ b/cocos/base/CCDirector.cpp @@ -660,7 +660,7 @@ void Director::purgeCachedData(void) float Director::getZEye(void) const { - return (_winSizeInPoints.height / 1.1566f); + return (_winSizeInPoints.height / (2 * tanf(M_PI/6))); } void Director::setAlphaBlending(bool on)