|
Blender
V2.93
|
#include "testing/testing.h"#include "BLI_math_base.h"#include "BLI_math_rotation.h"#include <cmath>Go to the source code of this file.
Functions | |
| static void | test_quat_to_mat_to_quat (float w, float x, float y, float z) |
| TEST (math_rotation, quat_to_mat_to_quat_rot180) | |
| TEST (math_rotation, quat_to_mat_to_quat_rot180n) | |
| TEST (math_rotation, quat_to_mat_to_quat_rot90) | |
| TEST (math_rotation, quat_to_mat_to_quat_rot90n) | |
| TEST (math_rotation, quat_to_mat_to_quat_bad_T83196) | |
| TEST (math_rotation, quat_to_mat_to_quat_bad_negative) | |
| TEST (math_rotation, quat_to_mat_to_quat_near_1000) | |
| TEST (math_rotation, quat_to_mat_to_quat_near_0100) | |
| TEST (math_rotation, quat_to_mat_to_quat_near_0010) | |
| TEST (math_rotation, quat_to_mat_to_quat_near_0001) | |
| TEST (math_rotation, quat_split_swing_and_twist_negative) | |
| TEST | ( | math_rotation | , |
| quat_split_swing_and_twist_negative | |||
| ) |
Definition at line 137 of file BLI_math_rotation_test.cc.
References M_PI, quat_split_swing_and_twist(), and sqrtf.
| TEST | ( | math_rotation | , |
| quat_to_mat_to_quat_bad_negative | |||
| ) |
Definition at line 75 of file BLI_math_rotation_test.cc.
References sqrtf, and test_quat_to_mat_to_quat().
| TEST | ( | math_rotation | , |
| quat_to_mat_to_quat_bad_T83196 | |||
| ) |
Definition at line 66 of file BLI_math_rotation_test.cc.
References test_quat_to_mat_to_quat().
| TEST | ( | math_rotation | , |
| quat_to_mat_to_quat_near_0001 | |||
| ) |
Definition at line 123 of file BLI_math_rotation_test.cc.
References test_quat_to_mat_to_quat().
| TEST | ( | math_rotation | , |
| quat_to_mat_to_quat_near_0010 | |||
| ) |
Definition at line 109 of file BLI_math_rotation_test.cc.
References test_quat_to_mat_to_quat().
| TEST | ( | math_rotation | , |
| quat_to_mat_to_quat_near_0100 | |||
| ) |
Definition at line 95 of file BLI_math_rotation_test.cc.
References test_quat_to_mat_to_quat().
| TEST | ( | math_rotation | , |
| quat_to_mat_to_quat_near_1000 | |||
| ) |
Definition at line 81 of file BLI_math_rotation_test.cc.
References test_quat_to_mat_to_quat().
| TEST | ( | math_rotation | , |
| quat_to_mat_to_quat_rot180 | |||
| ) |
Definition at line 28 of file BLI_math_rotation_test.cc.
References test_quat_to_mat_to_quat().
| TEST | ( | math_rotation | , |
| quat_to_mat_to_quat_rot180n | |||
| ) |
Definition at line 36 of file BLI_math_rotation_test.cc.
References test_quat_to_mat_to_quat().
| TEST | ( | math_rotation | , |
| quat_to_mat_to_quat_rot90 | |||
| ) |
Definition at line 44 of file BLI_math_rotation_test.cc.
References sqrtf, and test_quat_to_mat_to_quat().
| TEST | ( | math_rotation | , |
| quat_to_mat_to_quat_rot90n | |||
| ) |
Definition at line 55 of file BLI_math_rotation_test.cc.
References sqrtf, and test_quat_to_mat_to_quat().
Definition at line 11 of file BLI_math_rotation_test.cc.
References mat3_normalized_to_quat(), mul_qt_fl(), normalize_qt_qt(), quat_to_mat3(), w(), x, y, and z.
Referenced by TEST().