daily update on 20240508 by nitload youmu, partical added

This commit is contained in:
YoumuLiu
2024-05-09 04:14:36 +08:00
parent fc19ab3298
commit 56459deec5
58 changed files with 1507 additions and 431 deletions
@@ -49,18 +49,20 @@ namespace StgSharp.Geometries
v3x, v2y, v3z
)
{
vec2d side0 = vertexMat.Colum0 - vertexMat.Colum1;
vec2d side1 = vertexMat.Colum2 - vertexMat.Colum1;
#if DEBUG
vec2d side0 = new vec2d( vertexMat.colum0 - vertexMat.colum1);
vec2d side1 = new vec2d( vertexMat.colum2 - vertexMat.colum1);
if (side0.Cross(side1) == 0)
{
throw new ArgumentException();
}
#endif
}
/// <summary>
/// 计算中心点相对于参考原点的位移
/// Calculate movement to center
/// </summary>
/// <param name="tick">当前游戏刻</param>
/// <param name="tick">Current time tick</param>
/// <returns></returns>
public virtual vec3d MovCenter(uint tick)
{