MCPcopy Create free account
hub / github.com/URLab-Sim/UnrealRoboticsLab / FormatQuat

Function FormatQuat

Source/URLab/Public/MuJoCo/Utils/MjBind.h:43–48  ·  view source on GitHub ↗

Helper to format quaternions

Source from the content-addressed store, hash-verified

41
42// Helper to format quaternions
43inline FString FormatQuat(const mjtNum* q)
44{
45 if (!q)
46 return TEXT("NULL");
47 return FString::Printf(TEXT("[%.3f, %.3f, %.3f, %.3f]"), q[0], q[1], q[2], q[3]);
48}
49
50/**
51 * @struct GeomView

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected