daily update on 20230106 by nitload youmu
This commit is contained in:
@@ -33,7 +33,12 @@ namespace StgSharp.Geometries
|
||||
get { return _id; }
|
||||
}
|
||||
|
||||
float IGeometry.SetPointArray(Counter<uint> tickCounter)
|
||||
public float SetArrayX(Counter<uint> tickCounter)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public float SetArrayY(Counter<uint> tickCounter)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
@@ -19,6 +19,7 @@ namespace StgSharp.Geometries
|
||||
get;
|
||||
}
|
||||
|
||||
public float SetPointArray(Counter<uint> tickCounter);
|
||||
public float SetArrayX(Counter<uint> tickCounter);
|
||||
public float SetArrayY(Counter<uint> tickCounter);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,7 +33,18 @@ namespace StgSharp.Geometries
|
||||
get { return _id; }
|
||||
}
|
||||
|
||||
public float SetPointArray(Counter<uint> tickCounter)
|
||||
public Line( Point referencePoint, float vecX, float vecY)
|
||||
{
|
||||
_referencePoint = referencePoint;
|
||||
_vecX = vecX;
|
||||
_vecY = vecY;
|
||||
}
|
||||
|
||||
public float SetArrayX(Counter<uint> tickCounter)
|
||||
{
|
||||
return 0.0f;
|
||||
}
|
||||
public float SetArrayY(Counter<uint> tickCounter)
|
||||
{
|
||||
return 0.0f;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using StgSharp.Logic;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
@@ -6,11 +7,39 @@ namespace StgSharp.Geometries
|
||||
{
|
||||
public class Square:IGeometry
|
||||
{
|
||||
private Logic.LinkedListNode<INode> _id;
|
||||
internal Point _referrencePoint;
|
||||
public float _vecX;
|
||||
public float _vecY;
|
||||
|
||||
public Point ReferrencePoint
|
||||
public Logic.LinkedListNode<INode> ID
|
||||
{
|
||||
get { return _id; }
|
||||
}
|
||||
|
||||
public Point ReferencePoint
|
||||
{
|
||||
get { return _referrencePoint; }
|
||||
}
|
||||
|
||||
public float vecX
|
||||
{
|
||||
get { return _vecX; }
|
||||
}
|
||||
|
||||
public float vecY
|
||||
{
|
||||
get { return _vecY; }
|
||||
}
|
||||
|
||||
public float SetArrayX(Counter<uint> tickCounter)
|
||||
{
|
||||
return 0.0f;
|
||||
}
|
||||
|
||||
public float SetArrayY(Counter<uint> tickCounter)
|
||||
{
|
||||
return 0.0f;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user