Daily update on 20230204 by nitload youmu, pow func added

This commit is contained in:
Nitload
2023-02-05 09:41:05 +08:00
parent f75fcacc0d
commit 19a1420b2f
42 changed files with 202 additions and 69 deletions
+3 -16
View File
@@ -5,7 +5,7 @@ using System.Text;
namespace StgSharp
{
public class Triangle : IGeometry
public class Triangle
{
internal ContainerNode<INode> _id;
@@ -29,10 +29,7 @@ namespace StgSharp
get { return _referencePoint.Y; }
}
ContainerNode<INode> INode.ID
{
get { return _id; }
}
public float SetArrayX(Counter<uint> tickCounter)
{
@@ -44,16 +41,6 @@ namespace StgSharp
return _setArrayYHandler.Invoke(tickCounter);
}
void INode.setID<T>(ContainerNode<T> id)
{
if (id == null)
{
_id = id as ContainerNode<INode>;
}
else
{
throw new ArgumentNullException("Cannot set id teice!");
}
}
}
}