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