1 /*---------------------------------------------------------------------------* 2 Project: NintendoWare 3 File: math_Matrix34.h 4 5 Copyright (C)2009-2011 Nintendo/HAL Laboratory, Inc. All rights reserved. 6 7 These coded instructions, statements, and computer programs contain proprietary 8 information of Nintendo and/or its licensed developers and are protected by 9 national and international copyright laws. They may not be disclosed to third 10 parties or copied or duplicated in any form, in whole or in part, without the 11 prior written consent of Nintendo. 12 13 The content herein is highly confidential and should be handled accordingly. 14 15 $Revision: 31311 $ 16 *---------------------------------------------------------------------------*/ 17 18 #ifndef NW_MATH_MATRIX34_H_ 19 #define NW_MATH_MATRIX34_H_ 20 21 #include <nn/math/math_Matrix34.h> 22 23 namespace nw { 24 namespace math { 25 26 using namespace nn::math; 27 using nn::math::MTX34; 28 29 NW_MATH_INLINE MTX34* MTX34LookAtRad(MTX34* pOut, const VEC3* pCamPos, f32 twist, const VEC3* pTarget); 30 NW_MATH_INLINE MTX34* MTX34CameraRotateRad(MTX34* pOut, const VEC3* pCamPos, const VEC3* pCamRotate); 31 NW_MATH_INLINE VEC3* MTX34DecomposeToColumnScale(VEC3* pOut, const MTX34* pM); 32 NW_MATH_INLINE VEC3* MTX34DecomposeToRowScale(VEC3* pOut, const MTX34* pM); 33 34 } // namespace math 35 } // namespace nw 36 37 #if defined(NW_MATH_AS_INLINE) 38 #include <nw/math/inline/math_Matrix34.ipp> 39 #endif 40 41 42 #endif 43