mirror of
https://github.com/harfang3d/harfang3d.git
synced 2024-06-16 20:13:03 +00:00
24 lines
466 B
C++
24 lines
466 B
C++
// HARFANG(R) Copyright (C) 2021 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details.
|
|
|
|
#pragma once
|
|
|
|
namespace hg {
|
|
|
|
/// Euler angles rotation order.
|
|
enum RotationOrder : unsigned char {
|
|
RO_ZYX,
|
|
RO_YZX,
|
|
RO_ZXY,
|
|
RO_XZY,
|
|
RO_YXZ,
|
|
RO_XYZ,
|
|
RO_XY,
|
|
|
|
RO_Default = RO_YXZ
|
|
};
|
|
|
|
/// Return the reverse rotation order from a given input order.
|
|
RotationOrder ReverseRotationOrder(RotationOrder order);
|
|
|
|
} // namespace hg
|