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
|
||||
{
|
||||
protected:
|
||||
CC_CONSTRUCTOR_ACCESS:
|
||||
/**
|
||||
* @js ctor
|
||||
*/
|
||||
|
|
|
@ -93,12 +93,13 @@ public:
|
|||
|
||||
// Overrides
|
||||
virtual void draw(Renderer *renderer, const kmMat4 &transform, bool transformUpdated) override;
|
||||
|
||||
protected:
|
||||
|
||||
CC_CONSTRUCTOR_ACCESS:
|
||||
DrawNode();
|
||||
virtual ~DrawNode();
|
||||
virtual bool init();
|
||||
|
||||
protected:
|
||||
void ensureCapacity(int count);
|
||||
|
||||
GLuint _vao;
|
||||
|
|
Loading…
Reference in New Issue