git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6488
d7cf8633-e32d-0410-b094-
e92efae38249
void Matrix4x4_CopyTranslateOnly (matrix4x4_t *out, const matrix4x4_t *in)
{
- out->m[0][0] = 0.0f;
+ out->m[0][0] = 1.0f;
out->m[0][1] = 0.0f;
out->m[0][2] = 0.0f;
out->m[0][3] = in->m[0][3];
out->m[1][0] = 0.0f;
- out->m[1][1] = 0.0f;
+ out->m[1][1] = 1.0f;
out->m[1][2] = 0.0f;
out->m[1][3] = in->m[1][3];
out->m[2][0] = 0.0f;
out->m[2][1] = 0.0f;
- out->m[2][2] = 0.0f;
+ out->m[2][2] = 1.0f;
out->m[2][3] = in->m[2][3];
out->m[3][0] = 0.0f;
out->m[3][1] = 0.0f;