/*---------------------------------------------------------------------------* Project: Horizon File: math_Matrix33.h Copyright (C)2009-2010 Nintendo Co., Ltd. All rights reserved. These coded instructions, statements, and computer programs contain proprietary information of Nintendo of America Inc. and/or Nintendo Company Ltd., and are protected by Federal copyright law. They may not be disclosed to third parties or copied or duplicated in any form, in whole or in part, without the prior written consent of Nintendo. $Revision: 17287 $ *---------------------------------------------------------------------------*/ #ifndef NN_MATH_ARMV6_MATH_MATRIX33_H_ #define NN_MATH_ARMV6_MATH_MATRIX33_H_ #include #include #include #pragma push #pragma Otime namespace nn { namespace math { namespace ARMv6 { template inline TMatrix* MTX33MultC(TMatrix* pOut, const TMatrix* __restrict p1, const TMatrix* __restrict p2); NN_MATH_INLINE MTX33* MTX33CopyC(MTX33* pOut, const MTX33* p); NN_MATH_INLINE MTX33* MTX33MAddC(MTX33* pOut, f32 t, const MTX33* p1, const MTX33* p2); NN_MATH_INLINE MTX33* MTX33MAddC_FAST(MTX33* pOut, f32 t, const MTX33* p1, const MTX33* p2); NN_MATH_INLINE VEC3* VEC3TransformC(VEC3* pOut, const MTX33* pM, const VEC3* pV); MTX33* MTX33CopyAsm(MTX33* pOut, const MTX33* p); MTX33* MTX33MAddAsm(MTX33* pOut, f32 t, const MTX33* p1, const MTX33* p2); MTX33* MTX33MAddAsm(MTX33* pOut, f32 t, const MTX33* p1, const MTX33* p2); VEC3* VEC3TransformAsm(VEC3* pOut, const MTX33* pM, const VEC3* pV); template inline asm TMatrix* MTX33MultAsm_ORG(TMatrix* pOut, const TMatrix* p1, const TMatrix* p2); template inline asm TMatrix* MTX33MultAsm(TMatrix* pOut, const TMatrix* p1, const TMatrix* p2); } // namespace ARMv6 } // namespace math } // namespace nn #pragma pop /* NN_MATH_ARMV6_MATH_MATRIX33_H_ */ #endif