17 lines
317 B
C#
17 lines
317 B
C#
using System.Numerics;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace Auspex.Lighting.Internal;
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 48)]
|
|
internal struct LightTransform
|
|
{
|
|
[FieldOffset(0)]
|
|
public Vector3 Position;
|
|
|
|
[FieldOffset(16)]
|
|
public Quaternion Rotation;
|
|
|
|
[FieldOffset(32)]
|
|
public Vector3 Scale;
|
|
}
|