Orthographic projection mode with dynamic near/far.

This commit is contained in:
fortsnek9348 2022-03-02 00:52:04 +00:00
parent 0834aff9f4
commit e7947a2fd2
70 changed files with 2548 additions and 244 deletions

View file

@ -284,6 +284,11 @@ namespace MatterHackers.MatterControl.DesignTools
}
}
public AxisAlignedBoundingBox GetEditorWorldspaceAABB(Object3DControlsLayer layer)
{
return new AxisAlignedBoundingBox(new Vector3[] { worldStartPosition, worldEndPosition });
}
private void CreateWidgetIfRequired(Object3DControlsLayer controlLayer)
{
if (containerWidget == null