mirror of https://github.com/axmolengine/axmol.git
Issue #3897: Add missed constructors
This commit is contained in:
parent
cdb15dfe7c
commit
bdfcc6c8cc
|
@ -41,7 +41,7 @@ enum {
|
||||||
|
|
||||||
class CC_DLL Component : public Ref
|
class CC_DLL Component : public Ref
|
||||||
{
|
{
|
||||||
protected:
|
CC_CONSTRUCTOR_ACCESS:
|
||||||
/**
|
/**
|
||||||
* @js ctor
|
* @js ctor
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -94,11 +94,12 @@ public:
|
||||||
// Overrides
|
// Overrides
|
||||||
virtual void draw(Renderer *renderer, const kmMat4 &transform, bool transformUpdated) override;
|
virtual void draw(Renderer *renderer, const kmMat4 &transform, bool transformUpdated) override;
|
||||||
|
|
||||||
protected:
|
CC_CONSTRUCTOR_ACCESS:
|
||||||
DrawNode();
|
DrawNode();
|
||||||
virtual ~DrawNode();
|
virtual ~DrawNode();
|
||||||
virtual bool init();
|
virtual bool init();
|
||||||
|
|
||||||
|
protected:
|
||||||
void ensureCapacity(int count);
|
void ensureCapacity(int count);
|
||||||
|
|
||||||
GLuint _vao;
|
GLuint _vao;
|
||||||
|
|
Loading…
Reference in New Issue