Daily update on 20250618-051714 by Nitload Youmu. Additional Message : Brief support to collection operation in EXPRESS. A collection type added in core lib and compilestack.

Signed-off-by: Nitload <YoumuLiu_NSI@whv0t.onmicrosoft.com>
This commit is contained in:
Nitload
2025-06-18 05:17:14 +08:00
parent 74c01effe4
commit c624a8ca38
300 changed files with 12227 additions and 4303 deletions
+17 -41
View File
@@ -43,53 +43,29 @@ namespace StgSharp.Geometries
public interface IInstancing
{
public float Rotation
{
get { return GlobalBuffer.CoordAndRotationList[ BufferId ].W; }
set
{
Vec4 temp = GlobalBuffer.CoordAndRotationList[ BufferId ];
temp.W = value;
GlobalBuffer.CoordAndRotationList[ BufferId ] = temp;
}
}
public float Rotation { get { return GlobalBuffer.CoordAndRotationList[ BufferId ].W; } set
{
Vec4 temp = GlobalBuffer.CoordAndRotationList[
BufferId ];
temp.W = value;
GlobalBuffer.CoordAndRotationList[
BufferId ] = temp;
} }
public float Scale
{
get { return GlobalBuffer.ScalingList[ BufferId ]; }
set { GlobalBuffer.ScalingList[ BufferId ] = value; }
}
public float Scale { get { return GlobalBuffer.ScalingList[ BufferId ]; } set { GlobalBuffer.ScalingList[
BufferId ] = value; } }
public GeometryMotion Motion
{
get;
set;
}
public GeometryMotion Motion { get; set; }
public IInstancingBuffer GlobalBuffer
{
get;
internal set;
}
public IInstancingBuffer GlobalBuffer { get; internal set; }
public int BufferId
{
get;
internal set;
}
public int BufferId { get; internal set; }
public Vec3 CenterPositionGlobal
{
get;
internal set;
}
public Vec3 CenterPositionGlobal { get; internal set; }
public Vec3 Coord
{
get { return GlobalBuffer.CoordAndRotationList[ BufferId ].XYZ; }
set { GlobalBuffer.CoordAndRotationList[ BufferId ] = new Vec4(
value.reg ); }
}
public Vec3 Coord { get { return GlobalBuffer.CoordAndRotationList[ BufferId ].XYZ; } set { GlobalBuffer.CoordAndRotationList[
BufferId ] = new Vec4(
value.reg ); } }
public void Move()
{