From b1b9d59cfd9c40272228ae2e9d54f1c1a05301f2 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Thu, 8 Dec 2022 16:35:50 +0000 Subject: [PATCH] %360 for Coordinates.Yaw --- VpSharp/src/Coordinates.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VpSharp/src/Coordinates.cs b/VpSharp/src/Coordinates.cs index 71daab6..e30d1c8 100644 --- a/VpSharp/src/Coordinates.cs +++ b/VpSharp/src/Coordinates.cs @@ -70,7 +70,7 @@ public readonly partial struct Coordinates : IEquatable, IFormattab X = x; Y = y; Z = z; - Yaw = yaw; + Yaw = yaw % 360.0; IsRelative = isRelative; }