Show screen rotation axis (testing)

This commit is contained in:
LarsBrubaker 2019-06-18 08:21:48 -07:00
parent ab93964eab
commit 16177288d0
3 changed files with 9 additions and 2 deletions

View file

@ -84,6 +84,13 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
{
GLHelper.Render(mesh.mesh, mesh.color);
}
Matrix4X4 xyMatrix = world.GetXYInViewRotation(new Vector3(0, 0, 30));
foreach (var mesh in meshes)
{
GLHelper.Render(mesh.mesh, mesh.color, xyMatrix * Matrix4X4.CreateTranslation(0, 0, 30));
}
}
}
}