MCPcopy Create free account
hub / github.com/Prograda/Skybolt / setPositionLla

Function setPositionLla

src/Skybolt/SkyboltPythonBindings/PythonBindings.cpp:256–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254}
255
256static void setPositionLla(Entity& entity, const LatLonAlt& lla)
257{
258 Vector3 position = toGeocentric(LatLonAltPosition(lla)).position;
259 setPosition(entity, position);
260}
261
262static std::optional<Vector3> getOrientationRpy(const Entity& entity)
263{

Callers 1

PYBIND11_MODULEFunction · 0.85

Calls 3

LatLonAltPositionClass · 0.85
setPositionFunction · 0.85
toGeocentricFunction · 0.50

Tested by

no test coverage detected