daily update on 20240828 by nitload youmu, autotexture added

This commit is contained in:
Nitload
2024-08-28 10:58:31 +08:00
parent d082071f2d
commit 1ee4e4a42f
586 changed files with 60910 additions and 123106 deletions
@@ -39,7 +39,9 @@ namespace StgSharp.Geometries
public unsafe class Polygon5 : PlainGeometry
{
public unsafe Polygon5():base(PlainCoordinate.StandardPlainCoordination)
internal static int[] Indices = [0, 1, 2, 0, 2, 3, 0, 3, 4];
public unsafe Polygon5() : base(PlainCoordinate.StandardPlainCoordination)
{
vertexMat = new vec4d[5];
}
@@ -50,7 +52,7 @@ namespace StgSharp.Geometries
float v2x, float v2y,
float v3x, float v3y,
float v4x, float v4y
):base(PlainCoordinate.StandardPlainCoordination)
) : base(PlainCoordinate.StandardPlainCoordination)
{
vertexMat = new vec4d[5];
this[0] = new Point(v0x, v0y, 0);
@@ -67,7 +69,7 @@ namespace StgSharp.Geometries
float v2x, float v2y,
float v3x, float v3y,
float v4x, float v4y
):base(coordination)
) : base(coordination)
{
vertexMat = new vec4d[5];
this[0] = new Point(v0x, v0y, 0);
@@ -77,8 +79,7 @@ namespace StgSharp.Geometries
this[4] = new Point(v4x, v4y, 0);
}
internal static int[] Indices = [ 0, 1, 2, 0, 2, 3, 0, 3, 4 ];
public override ReadOnlySpan<int> VertexIndices => Indices;
}
}