Matrix Creation

These functions lets you create a matrix from two points and an optional origo (The origo can be left as NULL). The first vector dominates and the second will be used to determain rotation arround trhe first vecrtor

f_matrixxyf

void f_matrixxyf(float *matrix, const float *origo, const float *point_a, const float *point_b);

Description: Lets you create a 32 bit float 4x4 matrix using the X and Y vector

f_matrixxzf

void f_matrixxzf(float *matrix, const float *origo, const float *point_a, const float *point_b);

Description: Lets you create a 32 bit float 4x4 matrix using the X and Z vector

f_matrixyxf

void f_matrixyxf(float *matrix, const float *origo, const float *point_a, const float *point_b);

Description: Lets you create a 32 bit float 4x4 matrix using the Y and X vector

f_matrixyzf

void f_matrixyzf(float *matrix, const float *origo, const float *point_a, const float *point_b);

Description: Lets you create a 32 bit float 4x4 matrix using the Y and Z vector

f_matrixzxf

void f_matrixzxf(float *matrix, const float *origo, const float *point_a, const float *point_b);

Description: Lets you create a 32 bit float 4x4 matrix using the Z and X vector

f_matrixzyf

void f_matrixzyf(float *matrix, const float *origo, const float *point_a, const float *point_b);

Description: Lets you create a 32 bit float 4x4 matrix using the Z and Y vector

f_matrixxyd

void f_matrixxyd(double *matrix, const double *origo, const double *point_a, const double *point_b);

Description: Lets you create a 64 bit double 4x4 matrix using the X and Y vector

f_matrixxzd

void f_matrixxzd(double *matrix, const double *origo, const double *point_a, const double *point_b);

Description: Lets you create a 64 bit double 4x4 matrix using the X and Z vector

f_matrixyxd

void f_matrixyxd(double *matrix, const double *origo, const double *point_a, const double *point_b);

Description: Lets you create a 64 bit double 4x4 matrix using the Y and X vector

f_matrixyzd

void f_matrixyzd(double *matrix, const double *origo, const double *point_a, const double *point_b);

Description: Lets you create a 64 bit double 4x4 matrix using the Y and Z vector

f_matrixzxd

void f_matrixzxd(double *matrix, const double *origo, const double *point_a, const double *point_b);

Description: Lets you create a 64 bit double 4x4 matrix using the Z and X vector

f_matrixzyd

void f_matrixzyd(double *matrix, const double *origo, const double *point_a, const double *point_b);

Description: Lets you create a 64 bit double 4x4 matrix using the Z and Y vector