a bonepose matrix is intended to be used like this: (n = output vertex, v = input vertex, m = matrix, f = influence) n[0] = v[0] * m[0][0] + v[1] * m[0][1] + v[2] * m[0][2] + f * m[0][3]; n[1] = v[0] * m[1][0] + v[1] * m[1][1] + v[2] * m[1][2] + f * m[1][3]; n[2] = v[0] * m[2][0] + v[1] * m[2][1] + v[2] * m[2][2] + f * m[2][3]; More...
#include <qfiles.h>
Data Fields | |
float | matrix [3][4] |
a bonepose matrix is intended to be used like this: (n = output vertex, v = input vertex, m = matrix, f = influence) n[0] = v[0] * m[0][0] + v[1] * m[0][1] + v[2] * m[0][2] + f * m[0][3]; n[1] = v[0] * m[1][0] + v[1] * m[1][1] + v[2] * m[1][2] + f * m[1][3]; n[2] = v[0] * m[2][0] + v[1] * m[2][1] + v[2] * m[2][2] + f * m[2][3];
Definition at line 334 of file qfiles.h.
float dpmbonepose_s::matrix[3][4] |
Definition at line 335 of file qfiles.h.
Referenced by R_ModLoadAliasDPMModel().