From 9f0ff4cc978e042c005e76dbe435eea1b2a045b2 Mon Sep 17 00:00:00 2001 From: izi2bhappy <48867151+izi2bhappy@users.noreply.github.com> Date: Sat, 23 Mar 2019 21:50:32 +0200 Subject: [PATCH 1/2] changed minus sign to a plus sign Israelkariti Mar 21, 2:41 PM PDT In class: "RotateWithLocationProvider" In method "Vector3 getNewEulerAngles(float newAngle)" Code at line 152 : "euler.y = -newAngle;" causing the player game object to turn CCW when the android device is actully turning CW (and vice versa) should be : "euler.y = newAngle;" --- .../Mapbox/Examples/Scripts/RotateWithLocationProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdkproject/Assets/Mapbox/Examples/Scripts/RotateWithLocationProvider.cs b/sdkproject/Assets/Mapbox/Examples/Scripts/RotateWithLocationProvider.cs index e126a9738..a599959eb 100644 --- a/sdkproject/Assets/Mapbox/Examples/Scripts/RotateWithLocationProvider.cs +++ b/sdkproject/Assets/Mapbox/Examples/Scripts/RotateWithLocationProvider.cs @@ -146,7 +146,7 @@ private Vector3 getNewEulerAngles(float newAngle) } else { - euler.y = -newAngle; + euler.y = newAngle; euler.x = currentEuler.x; euler.z = currentEuler.z; From ecae034f122e54ec68fab5b6e0351b04026147fe Mon Sep 17 00:00:00 2001 From: izi2bhappy <48867151+izi2bhappy@users.noreply.github.com> Date: Thu, 4 Apr 2019 21:31:11 +0300 Subject: [PATCH 2/2] Change file name from 'TileJSONReponse' to 'TileJSONResponse' --- .../Platform/TileJSON/{TileJSONReponse.cs => TileJSONResponse.cs} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename sdkproject/Assets/Mapbox/Core/mapbox-sdk-cs/Platform/TileJSON/{TileJSONReponse.cs => TileJSONResponse.cs} (100%) diff --git a/sdkproject/Assets/Mapbox/Core/mapbox-sdk-cs/Platform/TileJSON/TileJSONReponse.cs b/sdkproject/Assets/Mapbox/Core/mapbox-sdk-cs/Platform/TileJSON/TileJSONResponse.cs similarity index 100% rename from sdkproject/Assets/Mapbox/Core/mapbox-sdk-cs/Platform/TileJSON/TileJSONReponse.cs rename to sdkproject/Assets/Mapbox/Core/mapbox-sdk-cs/Platform/TileJSON/TileJSONResponse.cs