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 vectorf_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 vectorf_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 vectorf_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 vectorf_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 vectorf_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 vectorf_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 vectorf_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 vectorf_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 vectorf_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 vectorf_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 vectorf_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