From bb74507c0fb298d0da6207d5d6f6f645aa9ac420 Mon Sep 17 00:00:00 2001 From: KillzXGaming Date: Sat, 9 May 2020 20:06:09 -0400 Subject: [PATCH] Update sln version --- .../FileFormats/Pokemon/GFLX/GFBANIM/GFBANM.cs | 7 +++++-- Toolbox.sln | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/File_Format_Library/FileFormats/Pokemon/GFLX/GFBANIM/GFBANM.cs b/File_Format_Library/FileFormats/Pokemon/GFLX/GFBANIM/GFBANM.cs index a75dfba0..af367841 100644 --- a/File_Format_Library/FileFormats/Pokemon/GFLX/GFBANIM/GFBANM.cs +++ b/File_Format_Library/FileFormats/Pokemon/GFLX/GFBANIM/GFBANM.cs @@ -231,7 +231,10 @@ namespace FirstPlugin return u15; } - static int[][] QUATERNION_SWIZZLES = { new int[] { 0, 3, 2, 1 }, new int[] { 3, 0, 2, 1 }, new int[] { 3, 2, 0, 1 }, new int[] { 3, 2, 1, 0 } }; + static int[][] QUATERNION_SWIZZLES = { + new int[] { 0, 3, 2, 1 }, new int[] { 3, 0, 2, 1 }, + new int[] { 3, 2, 0, 1 }, new int[] { 3, 2, 1, 0 } + }; private static Quaternion PackedToQuat(short z, short y, short x) { @@ -265,7 +268,7 @@ namespace FirstPlugin fy, fz }; - int[] qmap = QUATERNION_SWIZZLES[(int)(extra & 0b11)]; + int[] qmap = QUATERNION_SWIZZLES[(extra & 0b11)]; Quaternion q = new Quaternion(quat[qmap[0]], quat[qmap[1]], quat[qmap[2]], quat[qmap[3]]); if ((extra >> 2) != 0) q *= -1; diff --git a/Toolbox.sln b/Toolbox.sln index 78fe4f5e..64765ba8 100644 --- a/Toolbox.sln +++ b/Toolbox.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.28010.2041 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30011.22 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "File_Format_Library", "File_Format_Library\File_Format_Library.csproj", "{A11705CF-A6A3-41C3-875A-E1CFD8080F09}" EndProject