This commit is contained in:
Ming 2010-07-06 09:55:33 +00:00
parent c04225ab4b
commit 95699af69d
4 changed files with 13 additions and 4 deletions

View File

@ -49,6 +49,11 @@ public:
std::string description(void);
// sets the dirty value
void setDirty(BOOL bValue);
// get the dirty value
BOOL getDirty(void);
// sets the camera in the defaul position
void restore(void);
// Sets the camera using gluLookAt using its eye, center and up_vector

View File

@ -28,13 +28,13 @@ class NSZone;
class NSObject;
class NSString;
class NSCopying
class CCCopying
{
public:
virtual NSObject* copyWithZone(NSZone* pZone);
};
class NSObject : public NSCopying
class NSObject : public CCCopying
{
protected:
// object id

View File

@ -186,6 +186,10 @@ do { \
} while(0)
*/
#ifndef FLT_EPSILON
#define FLT_EPSILON 1.192092896e-07F
#endif // FLT_EPSILON
#define DISALLOW_COPY_AND_ASSIGN(TypeName) \
TypeName(const TypeName&);\
void operator=(const TypeName&)

View File

@ -23,8 +23,8 @@ THE SOFTWARE.
#ifndef __CCTYPES_H__
#define __CCTYPES_H__
#include "Cocoa/CGGeometry.h"
#include "Support/Cocos2dTypes.h"
#include "CGGeometry.h"
#include "Cocos2dTypes.h"
#include <GLES/gl.h>
/** RGB color composed of bytes 3 bytes