MVVM rebuild complete

This commit is contained in:
Nitload
2024-07-30 09:37:25 +08:00
parent da75200347
commit d082071f2d
68 changed files with 2690 additions and 762 deletions
@@ -13,12 +13,17 @@ namespace StgSharp.Controls
{
private PlainGeometryMesh renderMesh;
public override ReadOnlySpan<vec4d> TextureBox
public ReadOnlySpan<vec4d> TextureBox
{
get => renderMesh.TextureCoord;
}
public override IEnumerator<PlainGeometryMesh> GetEnumerator()
public vec2d Position { get ; set ; }
public Rectangle BoundingBox { get ; set ; }
public bool IsEntity => true;
public IEnumerator<PlainGeometryMesh> GetEnumerator()
{
yield return renderMesh;
}