Home | History | Annotate | Download | only in math

Lines Matching refs:TO

6  * Permission is hereby granted, free of charge, to any person obtaining a
8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
17 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
44 * \name Symbolic names to some of the entries in the matrix
60 * We use these to select specific optimized vertex transformation routines.
73 * Matrix type to represent 4x4 transformation matrices.
132 _math_matrix_copy( GLmatrix *to, const GLmatrix *from );
159 _math_transposef( GLfloat to[16], const GLfloat from[16] );
162 _math_transposed( GLdouble to[16], const GLdouble from[16] );
165 _math_transposefd( GLfloat to[16], const GLdouble from[16] );
188 #define TRANSFORM_NORMAL( TO, N, MAT ) \
190 TO[0] = N[0] * MAT[0] + N[1] * MAT[1] + N[2] * MAT[2]; \
191 TO[1] = N[0] * MAT[4] + N[1] * MAT[5] + N[2] * MAT[6]; \
192 TO[2] = N[0] * MAT[8] + N[1] * MAT[9] + N[2] * MAT[10]; \
199 #define TRANSFORM_DIRECTION( TO, DIR, MAT ) \
201 TO[0] = DIR[0] * MAT[0] + DIR[1] * MAT[4] + DIR[2] * MAT[8]; \
202 TO[1] = DIR[0] * MAT[1] + DIR[1] * MAT[5] + DIR[2] * MAT[9]; \
203 TO[2] = DIR[0] * MAT[2] + DIR[1] * MAT[6] + DIR[2] * MAT[10];\