Go to the source code of this file.
Functions | |
void | _rotate_to (FLOATNAME(LMatrix3)&mat, const FLOATNAME(LVector3)&a, const FLOATNAME(LVector3)&b) |
Computes the matrix necessary to rotate vector a onto vector b. | |
void | rotate_to (FLOATNAME(LMatrix3)&mat, const FLOATNAME(LVector3)&a, const FLOATNAME(LVector3)&b) |
void | rotate_to (FLOATNAME(LMatrix4)&mat, const FLOATNAME(LVector3)&a, const FLOATNAME(LVector3)&b) |
Definition in file rotate_to_src.cxx.
|
Computes the matrix necessary to rotate vector a onto vector b. It is assumed that both vectors are normalized. Definition at line 34 of file rotate_to_src.cxx. References FLOATNAME. |
|
Definition at line 90 of file rotate_to_src.cxx. |
|
Definition at line 85 of file rotate_to_src.cxx. |