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

Method commandProjectionSubCommand2d

core/base/Console.cpp:1088–1093  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1086}
1087
1088void Console::commandProjectionSubCommand2d(socket_native_type /*fd*/, std::string_view /*args*/)
1089{
1090 auto director = Director::getInstance();
1091 Scheduler* sched = director->getScheduler();
1092 sched->runOnAxmolThread([=]() { director->setProjection(Director::Projection::_2D); });
1093}
1094
1095void Console::commandProjectionSubCommand3d(socket_native_type /*fd*/, std::string_view /*args*/)
1096{

Callers

nothing calls this directly

Calls 3

getInstanceFunction · 0.85
runOnAxmolThreadMethod · 0.80
setProjectionMethod · 0.80

Tested by

no test coverage detected