mirror of https://github.com/axmolengine/axmol.git
issue #6
This commit is contained in:
parent
c04225ab4b
commit
95699af69d
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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&)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue