diff --git a/samples/Cpp/TestCpp/Classes/EffectsAdvancedTest/EffectsAdvancedTest.cpp b/samples/Cpp/TestCpp/Classes/EffectsAdvancedTest/EffectsAdvancedTest.cpp index 83a901788c..ac9cd90b3d 100644 --- a/samples/Cpp/TestCpp/Classes/EffectsAdvancedTest/EffectsAdvancedTest.cpp +++ b/samples/Cpp/TestCpp/Classes/EffectsAdvancedTest/EffectsAdvancedTest.cpp @@ -131,7 +131,12 @@ public: { m_pLens3D->setPosition(var); } - + + virtual const CCPoint& getPosition() + { + return m_pLens3D->getPosition(); + } + static Lens3DTarget* create(CCLens3D* pAction) { Lens3DTarget* pRet = new Lens3DTarget();