2011-06-14 14:31:25 +08:00
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
class CCActionCamera : public CCActionInterval
|
|
|
|
{
|
|
|
|
void startWithTarget(CCNode *pTarget);
|
2012-08-10 18:14:04 +08:00
|
|
|
CCActionInterval* reverse();
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
class CCOrbitCamera : public CCActionCamera
|
|
|
|
{
|
|
|
|
void sphericalRadius(float *r, float *zenith, float *azimuth);
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2012-06-15 11:46:51 +08:00
|
|
|
static CCOrbitCamera * create(float t, float radius, float deltaRadius, float angleZ, float deltaAngleZ, float angleX, float deltaAngleX);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|