whoopsy, forgot to init part of the matrix

This commit is contained in:
David Rose 2007-06-01 05:38:44 +00:00
parent 356b46e11d
commit fc9f9fe225
1 changed files with 9 additions and 0 deletions

View File

@ -1126,6 +1126,15 @@ set_scale_shear_mat(const FLOATNAME(LVecBase3) &scale,
FLOATNAME(LMatrix3) m3;
m3.set_scale_shear_mat(scale, shear, cs);
set_upper_3(m3);
_m.m._03 = 0.0f;
_m.m._13 = 0.0f;
_m.m._23 = 0.0f;
_m.m._33 = 1.0f;
_m.m._30 = 0.0f;
_m.m._31 = 0.0f;
_m.m._32 = 0.0f;
}
////////////////////////////////////////////////////////////////////