New IO structure, unexpexted error in C code
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
using StgSharp.Control;
|
||||
using StgSharp.Math;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using StgSharp.Math;
|
||||
|
||||
namespace StgSharp.Geometries
|
||||
{
|
||||
@@ -10,13 +6,13 @@ namespace StgSharp.Geometries
|
||||
{
|
||||
internal Point center;
|
||||
|
||||
public override sealed Point RefPoint01=>center;
|
||||
public sealed override Point RefPoint01 => center;
|
||||
|
||||
public override sealed Point RefPoint02 => vertex01;
|
||||
public sealed override Point RefPoint02 => vertex01;
|
||||
|
||||
public sealed override Point RefPoint03 => vertex02;
|
||||
|
||||
public override sealed Point RefPoint03 => vertex02;
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 计算中心点相对于参考原点的位移
|
||||
@@ -35,9 +31,9 @@ namespace StgSharp.Geometries
|
||||
return this.center.Position * 2 - this.vertex02.Position;
|
||||
}
|
||||
|
||||
internal override sealed void OnRender(uint tick)
|
||||
internal sealed override void OnRender(uint tick)
|
||||
{
|
||||
tick-=bornTick;
|
||||
tick -= bornTick;
|
||||
this.MovCenter(tick);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user