daily update on 20230418 by nitload youmu.

rewrite of geometry is completed.
ready for release of ver0.1.0
This commit is contained in:
Nitload
2023-04-18 01:59:26 +08:00
parent a58537a003
commit 906becc265
35 changed files with 338 additions and 633 deletions
+4 -4
View File
@@ -40,13 +40,13 @@ namespace StgSharp
}
public Pool( Geometries.Rectangle area)
{
vec3d vec = area._vertex1._position - area._vertex2._position;
vec3d vec = area.vertex01._position - area.vertex02._position;
if ((vec.X==0||vec.Y==0)&&vec.Z==0)
{
Line[] barders = area.GetAllSides();
if (area._vertex1.X>0)
if (area.vertex01.X>0)
{
if (area._vertex1.Y>0)
if (area.vertex01.Y>0)
{
topBoader = barders[3];
rightBoader = barders[0];
@@ -63,7 +63,7 @@ namespace StgSharp
}
else
{
if (area._vertex1.Y > 0)
if (area.vertex01.Y > 0)
{
topBoader = barders[3];
rightBoader = barders[0];