*** empty log message ***

This commit is contained in:
David Rose 2001-04-30 16:56:30 +00:00
parent c4a8d6e24b
commit 61ecfd7e6d
2 changed files with 2 additions and 2 deletions

View File

@ -785,7 +785,7 @@ rotate_mat(FLOATTYPE angle, FLOATNAME(LVecBase3) axis,
#ifdef _DEBUG
nassertr(length_sq != 0.0, ident_mat());
#endif
FLOATTYPE recip_length=1.0f/csqrt(length_sq);
FLOATTYPE recip_length = 1.0/csqrt(length_sq);
axis *= recip_length;
FLOATTYPE angle_rad=deg_2_rad(angle);

View File

@ -1139,7 +1139,7 @@ rotate_mat(FLOATTYPE angle, FLOATNAME(LVecBase3) axis,
FLOATTYPE length_sq = axis_0 * axis_0 + axis_1 * axis_1 + axis_2 * axis_2;
// Cannot rotate about a zero-length axis.
nassertr(length_sq != 0.0, ident_mat());
FLOATTYPE recip_length=1.0f/csqrt(length_sq);
FLOATTYPE recip_length = 1.0/csqrt(length_sq);
axis *= recip_length;
FLOATTYPE angle_rad=deg_2_rad(angle);