daily update on 20240513 by nitload youmu, instancing render added
This commit is contained in:
@@ -50,7 +50,10 @@ namespace StgSharp.Geometries
|
||||
endPoint = new Point(end);
|
||||
}
|
||||
|
||||
public Line() { }
|
||||
public Line()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public Line(Point begin, Point end)
|
||||
{
|
||||
@@ -59,7 +62,7 @@ namespace StgSharp.Geometries
|
||||
}
|
||||
|
||||
|
||||
internal override int[] Indices => throw new Exception();
|
||||
internal override int[] Indices => throw new NotSupportedException();
|
||||
|
||||
public override Line[] GetAllSides()
|
||||
{
|
||||
@@ -74,18 +77,18 @@ namespace StgSharp.Geometries
|
||||
/// <summary>
|
||||
/// Move begin side of a line.
|
||||
/// It is recommended to override this function rather than
|
||||
/// loading an <see cref="Func<int,vec3d>"/> with same function.
|
||||
/// loading an <see cref="Func{T, TResult}"/> with same function.
|
||||
/// </summary>
|
||||
/// <param name="tick">Time passed since current line was created.</param>
|
||||
public virtual vec3d MoveBeginPoint(int tick)
|
||||
{
|
||||
return movBegin.Invoke(time);
|
||||
return movBegin(time);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Move end side of a line.
|
||||
/// It is recommended to override this function rather than
|
||||
/// loading an <see cref="Func<int,vec3d>"/> with same function.
|
||||
/// loading an <see cref="Func{T,TResult}"/> with same function.
|
||||
/// </summary>
|
||||
/// <param name="tick">Time passed since current line was created.</param>
|
||||
/// <returns></returns>
|
||||
|
||||
Reference in New Issue
Block a user