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
@@ -12,10 +12,14 @@ namespace StgSharp.Controls
{
public class MarkingLabel : ControllingItem
{
public override ReadOnlySpan<vec4d> TextureBox
public ReadOnlySpan<vec4d> TextureBox
{
get => marker.TextureCoord;
}
public vec2d Position { get; set; }
public Rectangle BoundingBox { get; set; }
public bool IsEntity => true;
private vec2d _currentPosition, _movementVec;
@@ -41,7 +45,7 @@ namespace StgSharp.Controls
_movement = movement;
}
public override IEnumerator<PlainGeometryMesh> GetEnumerator()
public IEnumerator<PlainGeometryMesh> GetEnumerator()
{
yield return marker;
}