Files
stgsharp/源代码/StgSharp/Geometries/Polygon5.cs
T
2023-04-17 03:25:02 +08:00

94 lines
2.7 KiB
C#

using Steamworks;
using StgSharp.Control;
using StgSharp.Linear;
using StgSharp.Math;
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Text;
namespace StgSharp.Geometries
{
public class Polygon5 : IPlainGeometry
{
internal Point _refOrigin;
internal Point vertex1;
internal Point vertex2;
internal Point vertex3;
internal Point vertex4;
internal Point vertex5;
internal RenderMode _renderMode;
internal readonly int _vertexCount;
public override Point RefOrigin => _refOrigin;
public override Point RefPoint01 => vertex1;
public override Point RefPoint02 => vertex2;
public override Point RefPoint03 => vertex3;
public override RenderMode renderMode => throw new NotImplementedException();
public virtual vec3d movPoint01(uint tick)
{
return movP01Operation.Invoke(GameTimeLine.tickCounter);
}
internal GetLocationHandler movP01Operation = default;
public GetLocationHandler MovP01Operation { get => movP01Operation ; }
public virtual vec3d movPoint02(uint tick)
{
return movP02Operation.Invoke(GameTimeLine.tickCounter);
}
internal GetLocationHandler movP02Operation = default;
public GetLocationHandler MovP02Operation { get => movP02Operation ; }
public virtual vec3d movPoint03(uint tick)
{
return movP03Operation.Invoke(GameTimeLine.tickCounter);
}
internal GetLocationHandler movP03Operation = default;
public GetLocationHandler MovP03Operation { get => movP03Operation; }
public virtual vec3d movPoint04(uint tick)
{
return movP04Operation.Invoke(GameTimeLine.tickCounter);
}
internal GetLocationHandler movP04Operation = default;
public GetLocationHandler MovP04Operation { get => movP04Operation; }
public virtual vec3d movPoint05(uint tick)
{
return movP05Operation.Invoke(GameTimeLine.tickCounter);
}
internal GetLocationHandler movP05Operation = default;
public GetLocationHandler MovP05Operation { get => movP05Operation; }
internal override void OnRender(uint tick)
{
}
public override float SetArrayX()
{
throw new NotImplementedException();
}
public override float SetArrayY()
{
throw new NotImplementedException();
}
public override Line[] GetAllSides()
{
throw new NotImplementedException();
}
public override Plain GetPlain()
{
throw new NotImplementedException();
}
}
}