Ask Your Question

Revision history [back]

change your code :

double b = dot(&dA,&dB);

to :

double b = A.dot(dB);

change your code :

double b = dot(&dA,&dB);

to :

double b = A.dot(dB);
A.dot(B);