MCPcopy Create free account
hub / github.com/ElectroZybr/LatticeLab / world_size

Method world_size

Lattice/Scripting/ScriptAPI.cpp:119–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119std::tuple<float, float, float> ScriptAPI::world_size() const {
120 const glm::vec3 size = simulation_.world().getWorldSize();
121 return {size.x, size.y, size.z};
122}
123
124std::tuple<int, std::vector<std::string>> ScriptAPI::load_molecules(const std::string& path) {
125 std::vector<std::string> loadedNames = loadMoleculesFrom(path);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected