Silent some warnings (the one in bmesh_operator.c was even preventing build in -Werror mode).

This commit is contained in:
2012-12-02 13:35:33 +00:00
parent 3d6bc1e1f4
commit 1d09d0a9c5
3 changed files with 4 additions and 4 deletions

View File

@@ -84,7 +84,7 @@ void TransformReader::dae_rotate_to_mat4(COLLADAFW::Transformation *tm, float m[
COLLADAFW::Rotate *ro = (COLLADAFW::Rotate *)tm;
COLLADABU::Math::Vector3& axis = ro->getRotationAxis();
const float angle = (float)DEG2RAD(ro->getRotationAngle());
const float ax[] = {axis[0], axis[1], axis[2]};
const float ax[] = {(float)axis[0], (float)axis[1], (float)axis[2]};
// float quat[4];
// axis_angle_to_quat(quat, axis, angle);
// quat_to_mat4(m, quat);