Orthographic projection mode with dynamic near/far.
This commit is contained in:
parent
0834aff9f4
commit
e7947a2fd2
70 changed files with 2548 additions and 244 deletions
|
|
@ -163,6 +163,15 @@ namespace MatterHackers.Plugins.EditorTools
|
|||
}
|
||||
}
|
||||
|
||||
AxisAlignedBoundingBox IObject3DControl.GetWorldspaceAABB()
|
||||
{
|
||||
// TODO: Untested.
|
||||
if (flattened != null)
|
||||
return new AxisAlignedBoundingBox(targets.Select(t => t.Point).ToArray());
|
||||
else
|
||||
return AxisAlignedBoundingBox.Empty();
|
||||
}
|
||||
|
||||
private void Reset()
|
||||
{
|
||||
// Clear and close selection targets
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue