added idenentity transform

This commit is contained in:
max 2024-10-13 01:20:23 +02:00
parent b3adef3a40
commit 0d14a32726

View File

@ -14,5 +14,7 @@ public LocalTransform(Vector3 position, Quaternion rotation, Vector3 scale)
this.rotation = rotation; this.rotation = rotation;
this.scale = scale; this.scale = scale;
} }
public static readonly LocalTransform Identity = new(Vector3.Zero, Quaternion.Identity, Vector3.One);
} }
} }