1 /*---------------------------------------------------------------------------* 2 Project: NintendoWare 3 File: math_Matrix34.h 4 5 Copyright (C)2009-2010 Nintendo Co., Ltd./HAL Laboratory, Inc. 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: 19685 $ 14 *---------------------------------------------------------------------------*/ 15 16 #ifndef NW_MATH_MATRIX34_H_ 17 #define NW_MATH_MATRIX34_H_ 18 19 #include <nn/math/math_Matrix34.h> 20 21 namespace nw { 22 namespace math { 23 24 using namespace nn::math; 25 using nn::math::MTX34; 26 27 NW_MATH_INLINE MTX34* MTX34LookAtRad(MTX34* pOut, const VEC3* pCamPos, f32 twist, const VEC3* pTarget); 28 NW_MATH_INLINE MTX34* MTX34CameraRotateRad(MTX34* pOut, const VEC3* pCamPos, const VEC3* pCamRotate); 29 NW_MATH_INLINE VEC3* MTX34DecomposeToColumnScale(VEC3* pOut, const MTX34* pM); 30 NW_MATH_INLINE VEC3* MTX34DecomposeToRowScale(VEC3* pOut, const MTX34* pM); 31 32 } // namespace math 33 } // namespace nw 34 35 #if defined(NW_MATH_AS_INLINE) 36 #include <nw/math/inline/math_Matrix34.ipp> 37 #endif 38 39 40 #endif 41