2011-06-14 14:31:25 +08:00
|
|
|
|
2011-11-09 23:23:47 +08:00
|
|
|
class CCCamera : public CCObject
|
|
|
|
{
|
|
|
|
CCCamera(void);
|
|
|
|
|
|
|
|
void init(void);
|
|
|
|
char * description(void);
|
|
|
|
|
|
|
|
void setDirty(bool bValue);
|
|
|
|
bool getDirty(void);
|
|
|
|
void restore(void);
|
|
|
|
void locate(void);
|
|
|
|
void setEyeXYZ(float fEyeX, float fEyeY, float fEyeZ);
|
|
|
|
void setCenterXYZ(float fCenterX, float fCenterY, float fCenterZ);
|
|
|
|
void setUpXYZ(float fUpX, float fUpY, float fUpZ);
|
|
|
|
|
|
|
|
void getEyeXYZ(float *pEyeX, float *pEyeY, float *pEyeZ);
|
|
|
|
void getCenterXYZ(float *pCenterX, float *pCenterY, float *pCenterZ);
|
|
|
|
void getUpXYZ(float *pUpX, float *pUpY, float *pUpZ);
|
|
|
|
|
|
|
|
static float getZEye();
|
|
|
|
};
|