CCActionPageTurn3D

#ifndef __ACTION_CCPAGETURN3D_ACTION_H__

#define __ACTION_CCPAGETURN3D_ACTION_H__


#include "CCActionGrid3D.h"


NS_CC_BEGIN


/**

 * @addtogroup actions

 * @{

 */


/**

 @brief This action simulates a page turn from the bottom right hand corner of the screen.

 It's not much use by itself but is used by the PageTurnTransition.

 

 Based on an original paper by L Hong et al.

 http://www.parc.com/publication/1638/turning-pages-of-3d-electronic-books.html

  

 @since v0.8.2

 */

class CC_DLL CCPageTurn3D : public CCGrid3DAction

{

public:

    virtual void update(float time);


public:


    /** create the action */

    static CCPageTurn3D* create(float duration, const CCSize& gridSize);

};


// end of actions group

/// @}


NS_CC_END


#endif // __ACTION_CCPAGETURN3D_ACTION_H__


posted @ 2014-05-21 17:40  sssssnian  阅读(189)  评论(0编辑  收藏  举报