Show screen rotation axis (testing)
This commit is contained in:
parent
ab93964eab
commit
16177288d0
3 changed files with 9 additions and 2 deletions
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue