
namespace XELF.Framework {

	public partial struct Quaternion {
		/// <summary>
		/// 共役クォータニオン
		/// </summary>
		public void Conjugate() {
			X = -X;
			Y = -Y;
			Z = -Z;
		}
		/// <summary>
		/// 共役クォータニオン
		/// </summary>
		public static void Conjugate(ref Quaternion value, out Quaternion result) {
			result = new Quaternion(-value.X, -value.Y, -value.Z, value.W);
		}
		/// <summary>
		/// 共役クォータニオン
		/// </summary>
		public static Quaternion Conjugate(ref Quaternion value) {
			return new Quaternion(-value.X, -value.Y, -value.Z, value.W);
		}
	}

}
