corrected a #*$£& value that created a shift in the borders rendering

This commit is contained in:
Sylvain PILLOT 2023-05-07 21:10:52 +02:00
parent 5491cd2dfd
commit 2aaadbfb11
16 changed files with 4 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 KiB

View File

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@ -201,11 +201,11 @@ Border* Level::MakeBorder( libnum::num DX, libnum::num DY, float x1, float y1, f
{
Border *Bord = new Border();
Bord->A.x = DX + libnum::num(x1*16.0);
Bord->A.y = DY + libnum::num(y1*16.0);
Bord->A.x = DX + libnum::num(x1*15.0);
Bord->A.y = DY + libnum::num(y1*15.0);
Bord->B.x = DX + libnum::num(x2*16.0);
Bord->B.y = DY + libnum::num(y2*16.0);
Bord->B.x = DX + libnum::num(x2*15.0);
Bord->B.y = DY + libnum::num(y2*15.0);
Bord->N.x = Bord->A.y - Bord->B.y;
Bord->N.y = Bord->B.x - Bord->A.x;