mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-25 05:50:22 +00:00
Update sln version
This commit is contained in:
parent
536c5435bc
commit
bb74507c0f
2 changed files with 7 additions and 4 deletions
|
@ -231,7 +231,10 @@ namespace FirstPlugin
|
||||||
return u15;
|
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)
|
private static Quaternion PackedToQuat(short z, short y, short x)
|
||||||
{
|
{
|
||||||
|
@ -265,7 +268,7 @@ namespace FirstPlugin
|
||||||
fy,
|
fy,
|
||||||
fz };
|
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]]);
|
Quaternion q = new Quaternion(quat[qmap[0]], quat[qmap[1]], quat[qmap[2]], quat[qmap[3]]);
|
||||||
if ((extra >> 2) != 0) q *= -1;
|
if ((extra >> 2) != 0) q *= -1;
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
# Visual Studio 15
|
# Visual Studio Version 16
|
||||||
VisualStudioVersion = 15.0.28010.2041
|
VisualStudioVersion = 16.0.30011.22
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
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}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "File_Format_Library", "File_Format_Library\File_Format_Library.csproj", "{A11705CF-A6A3-41C3-875A-E1CFD8080F09}"
|
||||||
EndProject
|
EndProject
|
||||||
|
|
Loading…
Reference in a new issue