Here is my mult function. It does not normalize any quaternions.
void mult(float* C,float A[], float B[])
{
C[0] = A[3]*B[0] + A[0]*B[3] + A[1]*B[2] - A[2]*B[1];
C[1] = A[3]*B[1] +...
Type: Posts; User: Gadersd
Here is my mult function. It does not normalize any quaternions.
void mult(float* C,float A[], float B[])
{
C[0] = A[3]*B[0] + A[0]*B[3] + A[1]*B[2] - A[2]*B[1];
C[1] = A[3]*B[1] +...
Hi. I am using quaternions to do vector rotation. For some reason it is not working properly. When I try to rotate the vector 0,0,1 90 degrees along the x axis with this quaternion-0.70710678, 0, 0,...