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

Method create

core/3d/Skybox.cpp:45–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45Skybox* Skybox::create(std::string_view positive_x,
46 std::string_view negative_x,
47 std::string_view positive_y,
48 std::string_view negative_y,
49 std::string_view positive_z,
50 std::string_view negative_z)
51{
52 auto ret = new Skybox();
53 ret->init(positive_x, negative_x, positive_y, negative_y, positive_z, negative_z);
54
55 ret->autorelease();
56 return ret;
57}
58
59bool Skybox::init()
60{

Callers

nothing calls this directly

Calls 2

autoreleaseMethod · 0.80
initMethod · 0.45

Tested by

no test coverage detected