提交 bfeb16e8 编写于 作者: J jp9000

Fix bug with matrix rotation function

上级 6a59aef3
...@@ -305,7 +305,7 @@ void gs_matrix_rotaa4f(float x, float y, float z, float angle) ...@@ -305,7 +305,7 @@ void gs_matrix_rotaa4f(float x, float y, float z, float angle)
struct matrix3 *top_mat = top_matrix(thread_graphics); struct matrix3 *top_mat = top_matrix(thread_graphics);
struct axisang aa; struct axisang aa;
if (!top_mat) { if (top_mat) {
axisang_set(&aa, x, y, z, angle); axisang_set(&aa, x, y, z, angle);
matrix3_rotate_aa(top_mat, top_mat, &aa); matrix3_rotate_aa(top_mat, top_mat, &aa);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册