1 /*---------------------------------------------------------------------------*
2   Project:  Horizon
3   File:     math_Matrix43.cpp
4   Copyright (C)2009 Nintendo Co., Ltd.  All rights reserved.
5   These coded instructions, statements, and computer programs contain
6   proprietary information of Nintendo of America Inc. and/or Nintendo
7   Company Ltd., and are protected by Federal copyright law. They may
8   not be disclosed to third parties or copied or duplicated in any form,
9   in whole or in part, without the prior written consent of Nintendo.
10   $Rev: 12449 $
11  *---------------------------------------------------------------------------
12 
13 
14 */
15 
16 #include <nn/math.h>
17 
18 #include <nn/math/math_Matrix43.h>
19 
20 #if !defined(NN_MATH_AS_INLINE)
21 #include <nn/math/inline/math_Matrix43.ipp>
22 #endif
23 
24 
25 namespace nn { namespace math {
26 
27 
28 /*!--------------------------------------------------------------------------*
29   Name:         MTX43::Report
30 
31 
32 
33 
34 
35 
36 
37  *---------------------------------------------------------------------------*/
38 void
Report(bool bNewline,const char * name) const39 MTX43::Report(bool bNewline, const char* name) const
40 {
41     if (name)
42         NN_MATH_REPORT("%s", name);
43     else
44         NN_MATH_REPORT("MTX43");
45 
46     NN_MATH_REPORT(     "<%f, %f, %f\n",  f._00, f._01, f._02);
47     NN_MATH_REPORT("      %f, %f, %f\n",  f._10, f._11, f._12);
48     NN_MATH_REPORT("      %f, %f, %f>\n", f._20, f._21, f._22);
49     NN_MATH_REPORT("      %f, %f, %f>\n", f._30, f._31, f._32);
50 
51     if (bNewline)
52         NN_MATH_REPORT("\n");
53 }
54 
55 }  // namespace math
56 }  // namespace nn
57