max
30deeca452
added the moonworks ecs library. testing it by setting up a transform and parent system.
18 lines
423 B
C#
18 lines
423 B
C#
using System.Numerics;
|
|
|
|
namespace Nerfed.Runtime.Components
|
|
{
|
|
public struct LocalTransform
|
|
{
|
|
public Vector3 position;
|
|
public Quaternion rotation;
|
|
public Vector3 scale;
|
|
|
|
public LocalTransform(Vector3 position, Quaternion rotation, Vector3 scale)
|
|
{
|
|
this.position = position;
|
|
this.rotation = rotation;
|
|
this.scale = scale;
|
|
}
|
|
}
|
|
} |