Open Rails

MstsUtility.AngleDxDz Method

[This is preliminary documentation and subject to change.]

Compute the angle in radians resulting from these delta's 0 degrees is straight ahead - Dz = 0, Dx = 1;

public static float AngleDxDz(
   float Dx,
   float Dz
);

Parameters

Dx
Dz

Return Value

See Also

MstsUtility Class | Orts.Formats.Msts Namespace