Took out all the strange logic around moving the world position rather than having a center of rotation

This commit is contained in:
Lars Brubaker 2021-05-21 12:48:03 -07:00
parent 25abae93ca
commit 6220b149d4
8 changed files with 46 additions and 87 deletions

View file

@ -209,7 +209,7 @@ namespace MatterHackers.Plugins.EditorTools
for (int i = 0; i < 4; i++)
{
corner[i] = GetCornerPosition(selectedItem, quadrant + i);
screen[i] = Object3DControlContext.World.GetScreenSpace(corner[i]);
screen[i] = Object3DControlContext.World.WorldToScreenSpace(corner[i]);
}
var start = corner[0];