#include <nv_algebra.h>
Collaboration diagram for quat:
Public Member Functions | |
quat (nv_scalar x=0, nv_scalar y=0, nv_scalar z=0, nv_scalar w=1) | |
quat (const quat &quat) | |
quat (const vec3 &axis, nv_scalar angle) | |
quat (const mat3 &rot) | |
quat & | operator= (const quat &quat) |
quat | operator- () |
quat | Inverse () |
void | Normalize () |
void | FromMatrix (const mat3 &mat) |
void | ToMatrix (mat3 &mat) const |
quat & | operator *= (const quat &quat) |
nv_scalar & | operator[] (int i) |
const nv_scalar | operator[] (int i) const |
Static Public Attributes | |
static const quat | Identity |
Definition at line 481 of file nv_algebra.h.
|
Definition at line 736 of file nv_algebra.cpp. Referenced by Inverse(). |
|
Definition at line 740 of file nv_algebra.cpp. |
|
Definition at line 748 of file nv_algebra.cpp. References vec3::norm(), scale(), w, x, y, and z. Here is the call graph for this function: ![]() |
|
Definition at line 762 of file nv_algebra.cpp. References FromMatrix(). Here is the call graph for this function: ![]() |
|
Definition at line 793 of file nv_algebra.cpp. References scale(), w, x, y, and z. Referenced by mat4::get_rot(), mat_2_quat(), and quat(). Here is the call graph for this function: ![]() |
|
Definition at line 776 of file nv_algebra.cpp. References quat(), w, x, y, and z. Here is the call graph for this function: ![]() |
|
Definition at line 781 of file nv_algebra.cpp. |
|
Definition at line 858 of file nv_algebra.cpp. |
|
Definition at line 488 of file nv_algebra.h. |
|
Definition at line 767 of file nv_algebra.cpp. |
|
Definition at line 499 of file nv_algebra.h. |
|
Definition at line 498 of file nv_algebra.h. |
|
Definition at line 823 of file nv_algebra.cpp. Referenced by quat_2_mat(), and mat4::set_rot(). |
|
Definition at line 504 of file nv_algebra.h. |
|
Definition at line 497 of file nv_algebra.h. |
|
Definition at line 502 of file nv_algebra.h. Referenced by add_quats(), axis_to_quat(), conj(), dot(), FromMatrix(), Inverse(), Normalize(), normalize(), operator *(), operator=(), quat(), slerp_quats(), and ToMatrix(). |
|
Definition at line 502 of file nv_algebra.h. Referenced by add_quats(), axis_to_quat(), conj(), dot(), FromMatrix(), Inverse(), Normalize(), normalize(), operator *(), operator=(), quat(), slerp_quats(), and ToMatrix(). |
|
Definition at line 502 of file nv_algebra.h. Referenced by add_quats(), axis_to_quat(), conj(), dot(), FromMatrix(), Inverse(), Normalize(), normalize(), operator *(), operator=(), quat(), slerp_quats(), and ToMatrix(). |
|
Definition at line 502 of file nv_algebra.h. Referenced by add_quats(), axis_to_quat(), conj(), dot(), FromMatrix(), Inverse(), Normalize(), normalize(), operator *(), operator=(), quat(), slerp_quats(), and ToMatrix(). |