Home | History | Annotate | Download | only in test

Lines Matching refs:TO

7  * Permission is hereby granted, free of charge, to any person obtaining a
9 * to deal in the Software without restriction, including without limitation
10 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
11 * and/or sell copies of the Software, and to permit persons to whom the
12 * Software is furnished to do so, subject to the following conditions:
18 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
37 * \name Symbolic names to some of the entries in the matrix
53 * We use these to select specific optimized vertex transformation routines.
66 * Matrix type to represent 4x4 transformation matrices.
139 _math_matrix_copy( GLmatrix *to, const GLmatrix *from );
166 _math_transposef( GLfloat to[16], const GLfloat from[16] );
195 #define TRANSFORM_NORMAL( TO, N, MAT ) \
197 TO[0] = N[0] * MAT[0] + N[1] * MAT[1] + N[2] * MAT[2]; \
198 TO[1] = N[0] * MAT[4] + N[1] * MAT[5] + N[2] * MAT[6]; \
199 TO[2] = N[0] * MAT[8] + N[1] * MAT[9] + N[2] * MAT[10]; \
206 #define TRANSFORM_DIRECTION( TO, DIR, MAT ) \
208 TO[0] = DIR[0] * MAT[0] + DIR[1] * MAT[4] + DIR[2] * MAT[8]; \
209 TO[1] = DIR[0] * MAT[1] + DIR[1] * MAT[5] + DIR[2] * MAT[9]; \
210 TO[2] = DIR[0] * MAT[2] + DIR[1] * MAT[6] + DIR[2] * MAT[10];\