From d7ad7221e4913d79c633b6a2c490734cac6c2851 Mon Sep 17 00:00:00 2001 From: Vincent Yang Date: Tue, 26 May 2015 18:14:37 +0800 Subject: [PATCH] ciskip add doc for camera::getnear/farplane(). --- cocos/2d/CCCamera.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cocos/2d/CCCamera.h b/cocos/2d/CCCamera.h index 5004b3be92..ec329450da 100644 --- a/cocos/2d/CCCamera.h +++ b/cocos/2d/CCCamera.h @@ -172,7 +172,14 @@ public: */ int getDepth() const { return _depth; } + /** + * Get the frustum's far plane. + */ float getFarPlane() const { return _farPlane; } + + /** + * Get the frustum's near plane. + */ float getNearPlane() const { return _nearPlane; } //override