99 if (
m12==0.0F &&
m13==0.0F) {
103 q[
i][0] = m0 * p0 + m4 * p1 + m8 * p2;
104 q[
i][1] = m1 * p0 + m5 * p1 + m9 * p2;
111 q[
i][0] = m0 * p0 + m4 * p1 + m8 * p2 +
m12 * p3;
112 q[
i][1] = m1 * p0 + m5 * p1 + m9 * p2 +
m13 * p3;
120 if (m3==0.0F && m7==0.0F &&
m11==0.0F && m15==1.0F) {
124 q[
i][2] = m2 * p0 + m6 * p1 + m10 * p2 +
m14 * p3;
132 q[
i][2] = m2 * p0 + m6 * p1 + m10 * p2 +
m14 * p3;
133 q[
i][3] = m3 * p0 + m7 * p1 +
m11 * p2 + m15 * p3;
158 q[
i][0] = m0 * p0 + m4 * p1 + m8 * p2 +
m12;
159 q[
i][1] = m1 * p0 + m5 * p1 + m9 * p2 +
m13;
166 if (m3==0.0F && m7==0.0F &&
m11==0.0F && m15==1.0F) {
170 q[
i][2] = m2 * p0 + m6 * p1 + m10 * p2 +
m14;
178 q[
i][2] = m2 * p0 + m6 * p1 + m10 * p2 +
m14;
179 q[
i][3] = m3 * p0 + m7 * p1 +
m11 * p2 + m15;
208 tx = ux * m0 + uy * m1 + uz * m2;
209 ty = ux * m4 + uy * m5 + uz * m6;
210 tz = ux * m8 + uy * m9 + uz * m10;
230 v[
i][0] = ux * m0 + uy * m1 + uz * m2;
231 v[
i][1] = ux * m4 + uy * m5 + uz * m6;
232 v[
i][2] = ux * m8 + uy * m9 + uz * m10;
251#define M(row,col) m[col*4+row]
252 u[0] =
v0 *
M(0,0) +
v1 *
M(1,0) +
v2 *
M(2,0) +
v3 *
M(3,0);
253 u[1] =
v0 *
M(0,1) +
v1 *
M(1,1) +
v2 *
M(2,1) +
v3 *
M(3,1);
254 u[2] =
v0 *
M(0,2) +
v1 *
M(1,2) +
v2 *
M(2,2) +
v3 *
M(3,2);
255 u[3] =
v0 *
M(0,3) +
v1 *
M(1,3) +
v2 *
M(2,3) +
v3 *
M(3,3);
static void normalize(float vec[3])
GLdouble GLdouble GLdouble GLdouble q
GLenum GLenum GLenum GLenum GLenum scale
GLfloat GLfloat GLfloat GLfloat v3
GLfloat GLfloat GLfloat v2
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble * u