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

Function ScaleMToCm

Source/URLab/Public/MuJoCo/Utils/URLabAxisConv.h:105–108  ·  view source on GitHub ↗

@brief Per-element scale for fixed-size MJ array fields. The * codegen array-export loop reads through this so a future units * change (e.g. radians -> degrees on a specific subtype) doesn't * need a per-call-site edit. */

Source from the content-addressed store, hash-verified

103 * change (e.g. radians -> degrees on a specific subtype) doesn't
104 * need a per-call-site edit. */
105FORCEINLINE double ScaleMToCm(double InM)
106{
107 return InM * 100.0;
108}
109FORCEINLINE double ScaleCmToM(double InCm)
110{
111 return InCm * 0.01;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected