Skip to content

Commit

Permalink
Added Pack = 4 to StructLayout
Browse files Browse the repository at this point in the history
  • Loading branch information
abenedik committed Dec 11, 2017
1 parent d31ab96 commit d733ae5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Ab3d.OculusWrap/Ab3d.OculusWrap/Posef.cs
Expand Up @@ -28,7 +28,7 @@ namespace Ab3d.OculusWrap
/// Position and orientation together.
/// The coordinate system used is right-handed Cartesian.
/// </summary>
[StructLayout(LayoutKind.Sequential)]
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct Posef
{
/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion Ab3d.OculusWrap/Ab3d.OculusWrap/Quaternionf.cs
Expand Up @@ -27,7 +27,7 @@ namespace Ab3d.OculusWrap
/// <summary>
/// A quaternion rotation.
/// </summary>
[StructLayout(LayoutKind.Sequential)]
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct Quaternionf
{
/// <summary>
Expand Down

0 comments on commit d733ae5

Please sign in to comment.