18 lines
411 B
C#
18 lines
411 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.InteropServices;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace StgSharp.Math
|
|
{
|
|
[StructLayout(LayoutKind.Explicit, Size = 8)]
|
|
public struct GLfixed
|
|
{
|
|
[FieldOffset(0)] public int All;
|
|
[FieldOffset(0)] public short Decimals;
|
|
[FieldOffset(4)] public short Inertger;
|
|
}
|
|
}
|