rename ungenericed graphic vec usage to genericed

This commit is contained in:
Youmu Liu
2026-09-04 18:51:27 +08:00
parent 41ca31fd9a
commit ee67dfbde1
20 changed files with 755 additions and 760 deletions
@@ -18,7 +18,7 @@ namespace Nitload.Geometries
public interface IPlainEntity
{
public Vec2 CenterPosition { get; set; }
public Vec2<float> CenterPosition { get; set; }
public bool CollideWith(
IPlainEntity entity
@@ -45,7 +45,7 @@ namespace Nitload.Geometries
throw new NotImplementedException();
}
Vec2 IPlainEntity.CenterPosition
Vec2<float> IPlainEntity.CenterPosition
{
get => _shape.Coordination.LocalOrigin.Coord.XY;
set => throw new InvalidOperationException();