1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: math_Quaternion.h 4 5 Copyright (C)2009-2010 Nintendo Co., Ltd. All rights reserved. 6 7 These coded instructions, statements, and computer programs contain 8 proprietary information of Nintendo of America Inc. and/or Nintendo 9 Company Ltd., and are protected by Federal copyright law. They may 10 not be disclosed to third parties or copied or duplicated in any form, 11 in whole or in part, without the prior written consent of Nintendo. 12 13 $Revision: 24529 $ 14 *---------------------------------------------------------------------------*/ 15 16 #ifndef NN_MATH_ARMV6_MATH_QUATERNION_H_ 17 #define NN_MATH_ARMV6_MATH_QUATERNION_H_ 18 19 #include <nn/math/math_Config.h> 20 21 namespace nn { 22 namespace math { 23 namespace ARMv6 { 24 25 NN_MATH_INLINE QUAT* QUATMultC(QUAT* pOut, const QUAT* __restrict q1, const QUAT* __restrict q2); 26 NN_MATH_INLINE QUAT* QUATMultC_FAST(QUAT* pOut, const QUAT* __restrict q1, const QUAT* __restrict q2); 27 NN_MATH_INLINE QUAT* QUATNormalizeC(QUAT* pOut, const QUAT* __restrict q); 28 NN_MATH_INLINE QUAT* QUATNormalizeC_FAST(QUAT* pOut, const QUAT* __restrict q); 29 NN_MATH_INLINE QUAT* QUATInverseC(QUAT* pOut, const QUAT* __restrict q); 30 NN_MATH_INLINE QUAT* QUATInverseC_FAST(QUAT* pOut, const QUAT* __restrict q); 31 32 QUAT* QUATMultAsm(QUAT* pOut, const QUAT* __restrict q1, const QUAT* __restrict q2); 33 34 } //namespace ARMv6 35 } // namespace math 36 } // namespace nn 37 38 39 #endif 40