|
|
@@ -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);
|