1 /*---------------------------------------------------------------------------*
2   Project: Matrix Vector Library
3   File:    mtx44extAssert.h
4 
5   Copyright 1998-2001 Nintendo.  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   Change History:
14 
15 
16  *---------------------------------------------------------------------------*/
17 
18 
19 
20 #ifndef __MTX44ASSERT_H__
21 #define __MTX44ASSERT_H__
22 
23 
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 
30 //---------------------------------------------------------------------------------
31 
32 // ASSERT messages for 4x4 matrix extensions.
33 
34 //  4x4 GENERAL MATRIX SECTION
35 #define MTX44_IDENTITY_1        "MTX44Identity():  NULL Mtx44 'm' "
36 
37 #define MTX44_COPY_1            "MTX44Copy():  NULL Mtx44Ptr 'src' "
38 #define MTX44_COPY_2            "MTX44Copy():  NULL Mtx44Ptr 'dst' "
39 
40 #define MTX44_CONCAT_1          "MTX44Concat():  NULL Mtx44Ptr 'a'  "
41 #define MTX44_CONCAT_2          "MTX44Concat():  NULL Mtx44Ptr 'b'  "
42 #define MTX44_CONCAT_3          "MTX44Concat():  NULL Mtx44Ptr 'ab' "
43 
44 #define MTX44_TRANSPOSE_1       "MTX44Transpose():  NULL Mtx44Ptr 'src' "
45 #define MTX44_TRANSPOSE_2       "MTX44Transpose():  NULL Mtx44Ptr 'xPose' "
46 
47 #define MTX44_INVERSE_1         "MTX44Inverse():  NULL Mtx44Ptr 'src' "
48 #define MTX44_INVERSE_2         "MTX44Inverse():  NULL Mtx44Ptr 'inv' "
49 
50 //  MODEL  SECTION
51 #define MTX44_ROTRAD_1          "MTX44RotRad():  NULL Mtx44Ptr 'm' "
52 
53 #define MTX44_ROTTRIG_1         "MTX44RotTrig():  NULL Mtx44Ptr 'm' "
54 #define MTX44_ROTTRIG_2         "MTX44RotTrig():  invalid 'axis' value "
55 
56 #define MTX44_ROTAXIS_1         "MTX44RotAxisRad():  NULL Mtx44Ptr 'm' "
57 #define MTX44_ROTAXIS_2         "MTX44RotAxisRad():  NULL VecPtr 'axis' "
58 
59 #define MTX44_TRANS_1           "MTX44Trans():  NULL Mtx44Ptr 'm' "
60 
61 #define MTX44_TRANSAPPLY_1      "MTX44TransApply(): NULL Mtx44Ptr 'src' "
62 #define MTX44_TRANSAPPLY_2      "MTX44TransApply(): NULL Mtx44Ptr 'dst' "
63 #define MTX44_SCALE_1           "MTX44Scale():  NULL Mtx44Ptr 'm' "
64 
65 #define MTX44_SCALEAPPLY_1      "MTX44ScaleApply(): NULL Mtx44Ptr 'src' "
66 #define MTX44_SCALEAPPLY_2      "MTX44ScaleApply(): NULL Mtx44Ptr 'dst' "
67 
68 
69 //  MATRIX_VECTOR SECTION
70 #define MTX44_MULTVEC_1         "MTX44MultVec():  NULL Mtx44Ptr 'm' "
71 #define MTX44_MULTVEC_2         "MTX44MultVec():  NULL VecPtr 'src' "
72 #define MTX44_MULTVEC_3         "MTX44MultVec():  NULL VecPtr 'dst' "
73 
74 #define MTX44_MULTVECARRAY_1    "MTX44MultVecArray():  NULL Mtx44Ptr 'm' "
75 #define MTX44_MULTVECARRAY_2    "MTX44MultVecArray():  NULL VecPtr 'srcBase' "
76 #define MTX44_MULTVECARRAY_3    "MTX44MultVecArray():  NULL VecPtr 'dstBase' "
77 
78 #define MTX44_MULTVECSR_1       "MTX44MultVecSR():  NULL Mtx44Ptr 'm' "
79 #define MTX44_MULTVECSR_2       "MTX44MultVecSR():  NULL VecPtr 'src' "
80 #define MTX44_MULTVECSR_3       "MTX44MultVecSR():  NULL VecPtr 'dst' "
81 
82 #define MTX44_MULTVECARRAYSR_1  "MTX44MultVecArraySR():  NULL Mtx44Ptr 'm' "
83 #define MTX44_MULTVECARRAYSR_2  "MTX44MultVecArraySR():  NULL VecPtr 'srcBase' "
84 #define MTX44_MULTVECARRAYSR_3  "MTX44MultVecArraySR():  NULL VecPtr 'dstBase' "
85 
86 
87 
88 //---------------------------------------------------------------------------------
89 
90 #ifdef __cplusplus
91 }
92 #endif
93 
94 #endif // __MTX44ASSERT_H__
95 
96