added idenentity transform
This commit is contained in:
parent
b3adef3a40
commit
0d14a32726
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user