Exemplo n.º 1
0
Physics3DShape* Physics3DShape::createCylinder(float radius, float height)
{
    auto shape = new (std::nothrow) Physics3DShape();
    shape->initCylinder(radius, height);
    shape->autorelease();
    return shape;
}
bool TerrainManagerModuleCylinder::load
(
			const dictionary & dict
){

	// init:
	initCylinder(dict);

	return ClassModule< TerrainManager >::load(dict);
}