Skip to content

Commit

Permalink
fixed invalid function call
Browse files Browse the repository at this point in the history
  • Loading branch information
vurtun committed Jul 28, 2019
1 parent 0cee37c commit b998676
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vec.h
Original file line number Diff line number Diff line change
Expand Up @@ -1637,7 +1637,8 @@ xq_rotation_from_to(float *q, const float *u, const float *v)
xv3_set(w, -u[1], u[0], 0.0f);
else xv3_set(w, 0.0f, -u[2], u[1]);
} else xv_cross(w, u , v, 3);
xq_rotation(q, real_part, w);

xq_set(q,w[0],w[1],w[2],real_part);
xq_normeq(q);
}

Expand Down

0 comments on commit b998676

Please sign in to comment.