Removed unnecessary variable

This commit is contained in:
igorigrik 2024-10-01 00:02:07 +03:00
parent 075a13810c
commit 7678d2ad82

View file

@ -22,9 +22,6 @@ namespace Demo
CreateTrackBars(); CreateTrackBars();
InitializeImage(); InitializeImage();
} }
double angle = 0;
private void Render(Bitmap bmp) private void Render(Bitmap bmp)
{ {
@ -43,7 +40,6 @@ namespace Demo
double[] angles = angleSelectBars.Select(b => b.Angle).ToArray(); double[] angles = angleSelectBars.Select(b => b.Angle).ToArray();
projector4d3d.CoordSystem.RotationMatrix projector4d3d.CoordSystem.RotationMatrix
= YMath.Matrix.Rotation(4, angles); = YMath.Matrix.Rotation(4, angles);
angle += 0.01;
geom = projector4d3d.Project(geom); geom = projector4d3d.Project(geom);
geom = projector3d2d.Project(geom); geom = projector3d2d.Project(geom);