Code/Tools/SceneAPI/SceneCore/Utilities/CoordinateSystemConverter.cpp
AZ::Vector3 CoordinateSystemConverter::ConvertScale(const AZ::Vector3& input) const
    {
        if (!m_needsConversion)
        {
            return input;
        }

        return AZ::Vector3( input.GetElement(m_targetBasisIndices[0]), 
                            input.GetElement(m_targetBasisIndices[1]), 
                            input.GetElement(m_targetBasisIndices[2]) );
    }
// Convert a scale value, which never flips some axis or so, just switches them.
// Think of two coordinate systems, where for example the Z axis is inverted in one of them, the scale will remain the same, in both systems.
// However, if we swap Y and Z, the scale Y and Z still have to be swapped.
Convert a scale value, which never flips some axis or so, just switches them.
Think of two coordinate systems, where for example the Z axis is inverted in one of them, the scale will remain the same, in both systems.
However, if we swap Y and Z, the scale Y and Z still have to be swapped.
Convert a scale value which never flips some axis or so just switches them . Think of two coordinate systems where for example the Z axis is inverted in one of them the scale will remain the same in both systems . However if we swap Y and Z the scale Y and Z still have to be swapped .
AZ::Vector3 CoordinateSystemConverter::ConvertScale(const AZ::Vector3& input) const
    {
        if (!m_needsConversion)
        {
            return input;
        }
        return AZ::Vector3( input.GetElement(m_targetBasisIndices[0]), 
                            input.GetElement(m_targetBasisIndices[1]), 
                            input.GetElement(m_targetBasisIndices[2]) );
    }
AZ :: Vector3 CoordinateSystemConverter :: ConvertScale ( const AZ :: Vector3 & input ) const { if ( ! m_needsConversion ) { return input ; } return AZ :: Vector3 ( input . GetElement ( m_targetBasisIndices [ 0 ] ) , input . GetElement ( m_targetBasisIndices [ 1 ] ) , input . GetElement ( m_targetBasisIndices [ 2 ] ) ) ; }
Convert a scale value, which never flips some axis or so, just switches them.
Convert a scale value which never flips some axis or so just switches them .