small fixed

This commit is contained in:
Perfare 2019-01-03 09:02:12 +08:00
parent e6ed312de2
commit c3c4697562
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ using System.Runtime.InteropServices;
namespace AssetStudio
{
[StructLayout(LayoutKind.Sequential, Size = 4)]
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct Color : IEquatable<Color>
{
public float R;

View File

@ -3,7 +3,7 @@ using System.Runtime.InteropServices;
namespace AssetStudio
{
[StructLayout(LayoutKind.Sequential)]
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct Quaternion : IEquatable<Quaternion>
{
public float X;