|
|
|
|
@ -3534,10 +3534,9 @@ namespace AzToolsFramework
|
|
|
|
|
debugDisplay.SetLineWidth(1.0f);
|
|
|
|
|
|
|
|
|
|
const float labelOffset = ed_viewportGizmoAxisLabelOffset;
|
|
|
|
|
const float screenScale = GetScreenDisplayScaling(viewportId);
|
|
|
|
|
const auto labelXScreenPosition = (gizmoStart + (gizmoAxisX * labelOffset)) * editorCameraState.m_viewportSize * screenScale;
|
|
|
|
|
const auto labelYScreenPosition = (gizmoStart + (gizmoAxisY * labelOffset)) * editorCameraState.m_viewportSize * screenScale;
|
|
|
|
|
const auto labelZScreenPosition = (gizmoStart + (gizmoAxisZ * labelOffset)) * editorCameraState.m_viewportSize * screenScale;
|
|
|
|
|
const auto labelXScreenPosition = (gizmoStart + (gizmoAxisX * labelOffset)) * editorCameraState.m_viewportSize;
|
|
|
|
|
const auto labelYScreenPosition = (gizmoStart + (gizmoAxisY * labelOffset)) * editorCameraState.m_viewportSize;
|
|
|
|
|
const auto labelZScreenPosition = (gizmoStart + (gizmoAxisZ * labelOffset)) * editorCameraState.m_viewportSize;
|
|
|
|
|
|
|
|
|
|
// draw the label of of each axis for the gizmo
|
|
|
|
|
const float labelSize = ed_viewportGizmoAxisLabelSize;
|
|
|
|
|
|