In the Open Reality SDK there is small set of functions for working with vectors, matrices and quaternions. Propose to gather some convenient common library.

Here is example

double DotProduct(const FBVector3d v1, double *v2)


return v1[0] * v2[0] + v1[1] * v2[1] + v1[2] * v2[2];


Full set of math helper function you can download here math3d

Math library for developers
Tagged on:                     

Leave a Reply

Your email address will not be published. Required fields are marked *