small changes

This commit is contained in:
aap
2023-02-21 01:24:42 +01:00
parent 8271c23a9e
commit 05db81b92f
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -587,6 +587,7 @@ Matrix::makeRotation(Matrix *dst, const V3d *axis, float32 angle)
dst->pos.y = 0.0;
dst->pos.z = 0.0;
dst->flags = TYPEORTHONORMAL;
dst->pad1 = dst->pad2 = dst->pad3 = 0;
}
/* q must be normalized */
@@ -616,6 +617,7 @@ Matrix::makeRotation(Matrix *dst, const Quat &q)
dst->pos.y = 0.0;
dst->pos.z = 0.0;
dst->flags = TYPEORTHONORMAL;
dst->pad1 = dst->pad2 = dst->pad3 = 0;
}
float32