mirror of
https://github.com/raylib-cs/raylib-cs
synced 2025-09-09 03:01:41 -04:00
27 lines
549 B
C#
27 lines
549 B
C#
using System.Numerics;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace Raylib_cs
|
|
{
|
|
/// <summary>
|
|
/// Transform, vectex transformation data
|
|
/// </summary>
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
public struct Transform
|
|
{
|
|
/// <summary>
|
|
/// Translation
|
|
/// </summary>
|
|
public Vector3 translation;
|
|
|
|
/// <summary>
|
|
/// Rotation
|
|
/// </summary>
|
|
public Vector4 rotation;
|
|
|
|
/// <summary>
|
|
/// Scale
|
|
/// </summary>
|
|
public Vector3 scale;
|
|
}
|
|
} |