PivotPresets.h 493 B

1234567891011121314151617181920
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. #include <AzCore/base.h>
  10. #include <AzCore/Math/Vector2.h>
  11. namespace PivotPresets
  12. {
  13. static const int PresetIndexCount = 9;
  14. int PivotToPresetIndex(const AZ::Vector2& v);
  15. const AZ::Vector2& PresetIndexToPivot(int i);
  16. } // namespace PivotPresets