Merge branch 'Tryibion-multi-axis-select-box'
This commit is contained in:
@@ -35,12 +35,12 @@ namespace FlaxEditor.Gizmo
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// The inner minimum of the multiscale
|
/// The inner minimum of the multiscale
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private const float InnerExtend = AxisOffset + 0.5f;
|
private const float InnerExtend = AxisOffset;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The outer maximum of the multiscale
|
/// The outer maximum of the multiscale
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private const float OuterExtend = AxisOffset * 3.5f;
|
private const float OuterExtend = AxisOffset + 1.25f;
|
||||||
|
|
||||||
// Cube with the size AxisThickness, then moves it along the axis (AxisThickness) and finally makes it really long (AxisLength)
|
// Cube with the size AxisThickness, then moves it along the axis (AxisThickness) and finally makes it really long (AxisLength)
|
||||||
private BoundingBox XAxisBox = new BoundingBox(new Vector3(-AxisThickness), new Vector3(AxisThickness)).MakeOffsetted(AxisOffset * Vector3.UnitX).Merge(AxisLength * Vector3.UnitX);
|
private BoundingBox XAxisBox = new BoundingBox(new Vector3(-AxisThickness), new Vector3(AxisThickness)).MakeOffsetted(AxisOffset * Vector3.UnitX).Merge(AxisLength * Vector3.UnitX);
|
||||||
|
|||||||
Reference in New Issue
Block a user