MCPcopy Create free account
hub / github.com/axmolengine/axmol / create

Method create

tests/lua-tests/Source/lua_test_bindings.cpp:118–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118DrawNode3D* DrawNode3D::create()
119{
120 DrawNode3D* ret = new DrawNode3D();
121 if (ret->init())
122 {
123 ret->autorelease();
124 }
125 else
126 {
127 AX_SAFE_DELETE(ret);
128 }
129
130 return ret;
131}
132
133void DrawNode3D::ensureCapacity(int count)
134{

Callers

nothing calls this directly

Calls 2

autoreleaseMethod · 0.80
initMethod · 0.45

Tested by

no test coverage detected