daily update on 20240111 by nitload youmu
This commit is contained in:
@@ -30,6 +30,11 @@ namespace StgSharp.Math
|
||||
[FieldOffset(8)] public int Z_int;
|
||||
[FieldOffset(12)] public int W_int;
|
||||
|
||||
[FieldOffset(0)] public uint X_uint;
|
||||
[FieldOffset(4)] public uint Y_uint;
|
||||
[FieldOffset(8)] public uint Z_uint;
|
||||
[FieldOffset(12)] public uint W_uint;
|
||||
|
||||
[FieldOffset(0)] public long X_long;
|
||||
[FieldOffset(8)] public long Y_long;
|
||||
|
||||
@@ -53,13 +58,13 @@ namespace StgSharp.Math
|
||||
[FieldOffset(14)] public byte byte_14;
|
||||
[FieldOffset(15)] public byte byte_15;
|
||||
|
||||
unsafe public Vec4d(
|
||||
public Vec4d(
|
||||
float x, float y, float z, float w)
|
||||
{
|
||||
X = x; Y = y; Z = z; W = w;
|
||||
}
|
||||
|
||||
|
||||
internal Vec4d(uint x) => X_uint = x;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user