1 /*---------------------------------------------------------------------------*
2   Project:  Horizon
3   File:     math_Matrix33.cpp
4 
5   Copyright (C)2009-2012 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   $Rev: 46347 $
14  *---------------------------------------------------------------------------*/
15 
16 #include <nn/math.h>
17 
18 #include <nn/math/math_Matrix33.h>
19 
20 
21 #if !defined(NN_MATH_AS_INLINE)
22 #include <nn/math/inline/math_Matrix33.ipp>
23 #include <nn/math/ARMv6/inline/math_Matrix33.ipp>
24 #endif
25 
26 
27 namespace nn { namespace math {
28 
29 /* ------------------------------------------------------------------------
30         MTX33
31    ------------------------------------------------------------------------ */
32 
33 /*!--------------------------------------------------------------------------*
34   Name:         MTX33::Report
35 
36 
37 
38 
39 
40 
41 
42  *---------------------------------------------------------------------------*/
43 void
Report(bool bNewline,const char * name) const44 MTX33::Report(bool bNewline, const char* name) const
45 {
46     if (name)
47         NN_MATH_REPORT("%s", name);
48     else
49         NN_MATH_REPORT("MTX33");
50 
51     NN_MATH_REPORT(     "<%f, %f, %f\n",  f._00, f._01, f._02);
52     NN_MATH_REPORT("      %f, %f, %f\n",  f._10, f._11, f._12);
53     NN_MATH_REPORT("      %f, %f, %f>\n", f._20, f._21, f._22);
54 
55     if (bNewline)
56         NN_MATH_REPORT("\n");
57 }
58 
59 }  // namespace math
60 }  // namespace nn
61